How to catch the ng-repeat end event in the controller? There is this HTML code:
<input type='text' ng-model="searchTel.id_device_type"> <div ng-repeat="tel in tel_list | filter:aaaa:tel"> <div class="item"> <img src="images/{{tel.url_img_tel}}" class="img-content"> <div class="item-content"> <p >{{tel.code_tel}}</p> <p >{{tel.name_tel}}</p> </div> </div> </div> in the controller
$scope.aaaa=function(tel) { if($scope.searchTel.id_device_type==0) { return true; } else { if(tel.id_device_type==$scope.searchTel.id_device_type) { return true; } else { return false; } } } I tried:
$scope.$on('ngRepeatFinished', function(ngRepeatFinishedEvent) { console.log(ngRepeatFinishedEvent); }); Not caught
limitTofilter - which you will ask how much exactly you need to show now - Grundy