#AngularJS : Directive for checking # of watchers in scope  #javascript
  • The approach will save the number of watchers.
  • Then I can easaly pop it into any scoop I want to check the number of watchers currently active in that scope.
  • With the amount of data in this demo it doesn’t really do any difference if I have 500+ watchers or 2 watchers but the principal is the same.
  • Home > Development > AngularJS: Directive for checking # of watchers in scope
  • When I develop in Angular I use a simple directive to double check my scopes for the number of watchers created.

Read more


techjunkiejh

@techjunkiejh: “#AngularJS : Directive for checking # of watchers in scope #javascript” open tweet »