there is also : $evalAsync <http://docs.angularjs.org/api/ng.%24rootScope.Scope#%24evalAsync> which i used successfully - code on my other laptop.
It is discussed here a little too: http://stackoverflow.com/questions/15207788/calling-a-function-when-ng-repeat-has-finished On 3 October 2014 08:38, Joberto Diniz <[email protected]> wrote: > Yeah.. we did the same when we need something similar. > > > On Tuesday, September 30, 2014 11:30:12 AM UTC-3, Anton Trapp wrote: >> >> One "solution" I found: I created a small directive that sets a >> parent-scope variable on scope.$last and added it to the ng-repeat. When it >> is called the last time (scope.$last) is called the watch (defined in the >> link function of the directive above) is triggered and I can call the >> external JS. However this solution seems a little roundabout... >> > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- Tony Polinelli -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
