I have two ng-repeats, one nested inside another, and I have a function I want to run after the last item has rendered.
Current I have it working as follows:
<tr ng-repeat="requestResult in vm.$scope.requestResults">
<td ng-repeat="column in vm.$scope.columns" ng-show="column.checked">
<div ng-if="$parent.$last && $last" ng-init="$parent.$last && $last ?vm.finishedRendering():null"></div>
The issue with this implementation is that upon peer-review it was brought up that this was ngInit abuse. So my question for you guys is, is it? And if so how can I accomplish it correctly?
currently using 1.7.x angular