angular-datatables rendering (repeating) twice
问题 I am using angular datatables https://l-lin.github.io/angular-datatables and noticed that the ng-repeat is done twice. I noticed it with the following directive. <tr ng-repeat="order in vm.orders track by order.id" repeatlogger> app.directive('repeatlogger', function() { return function (scope, element, attrs) { console.log(scope.$index); } I am using the Angular way, see HTML tab at https://l-lin.github.io/angular-datatables/#/angularWay <table datatable="ng" class="row-border hover"> <thead