Hi Hoodle...,

A simple hack will get you where you are. I'm not too sure this is a good 
idea to begin with, but here it goes anyway:

<h2 ng-repeat="result in results" on-finish-render="">
   {{result}} {{ $last===true ? onFinishCallback() : ''}
</h2>

the $last is part of the ngRepeat, and will be only true when the last one 
is rendered. Depending on what you want to to, you might want to use a 
$timeout(myFunction,0) in your callback, to make sure your callback runs 
after the current digest cycle has finnsihed.

Regards
Sander

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to