angular/angular.js — pull request #5799 by lgalfaso (2014-01-14 19:02:05+00:00)
Title: perf($scope): Add a property $$watchersCount to scope

Add a property $$watchersCount to scope that keeps the number of watchers in the scope plus all the child scopes. Use this property when traversing scopes looking for watches