I have the following setup:
App/Directive
var app = angular.module(\"MyApp\", []);
app.directive(\"adminRosterItem\", function () {
return {
Had exact same problem. Had a custom directive in an ng-repeat, table->tr->td->directive, and when sorting the table using ng-repeat and Array.sort the table did change order but the directives did not re-render. The problem was I was using
track by $index
removed the track by index from the ng-repeat and it was fixed.