Search SSWUG.ORG:

DATABASES

Scope $watch() vs. $watchCollection() In AngularJS This is an off-site link.  Please review our Terms of Service for additional information.


(Ben Nadel) AngularJS has always had a Scope.$watch() function as means to observe [and react to] changes in a given value. With AngularJS 1.1.4, however, they added the Scope.$watchCollection() function as a means to observe changes in a collection (either as an Array or an Object).

Read this article..







comments powered by Disqus