ng-watcher

A simple function to count AngularJS watcher on the DOM


Keywords
angularjs, performance, debug, watchers
License
MIT
Install
bower install ng-watcher

Documentation

ng-watchers

Counting watchers on an AngularJS app might be tricky as batarang provides an overview of all watchers but makes the webpage dead slow.

By simply including ng-watchers as a devDependency you can simply get an overview of the watchers on the DOM by calling ngwatchers(), that's it!

example

Credits

The script comes from stackoverflow.

Tests

b****-please