The AngularJS $watchCollection method is used to observe properties on a single object and notify you if one of them changes. In other word watchCollection is shallow watches the properties of an object and fires whenever any of the properties change. This method is for watching changes of scope variables. This method has callback function which gets called when the watching properties are changed.
The $watchCollection method requires two parameters: obj and listener parameters.
Syntax