Hi Andrew,

> Am I correct in assuming that the reason $timeout works is because it puts 
> the closure at the end of the event loop queue so that all of the angular 
> binding functions have fired before the $timeout function is executed?
>
That is indeed the case. It makes sure there is at least 1 $digest loop 
<https://www.ng-book.com/p/The-Digest-Loop-and-apply/> finished. 

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

Reply via email to