Hi Kevin,

The OP's question was not on watching data, it was on initializing a 3rth 
party non-angular component that needs the data to be readily available in 
the DOM. No $watch is going to help with that.
It is a best practice to limit the number of $watches to an absolute 
minimum, and your $watch-once construct might help there. For myself, I 
consider them possible code-smell's. In 80% of the cases there is a 
faster/better alternative possible.

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