I need to call a function everytime ng-repeat has finished rendering a view. A simple solution for when ng-repeat gets rendered for the first time i came across is to use ng-init="$last ? function() : angular.noop
where 'function' is the function to be called.
Likewise, one could write a custom directive as e.g. in ng-repeat finish event However, so far i have been unsuccessful to find a solution that also works when i have a dynamic ng-repeat
e.g. when items are added or deleted in the middle or when filtered as $last will be false in these cases. One could always add and delete a dummy entry at the end of the list, but this seems not to be a proper solution.
Any suggestions are welcome. Thanks.