Angular WatchCollection Polyfill
A module that backports $watchCollection to pre 1.2 AngularJS.
- AngularJS <= 1.0.x (will not run or break later versions)
Load the script file: ng-watchcollection-polyfill.js in your application:
Add the ng.watchcollection.polyfill module as a dependency to your application module:
var myAppModule = angular
Inject the ngWatchCollectionPolyfillService service to a controller of your app (preferably the outermost):
You are ready. Happy collection watching.