Hi Kanav,

The view is not the only place where you can add watchers. I highly suspect 
that there is a controller behind this, that uses an actual $scope.$watch. 
Also, it might just be that the div is part of a scope where there is a 
watcher, meaning the watcher has nothing to do with the element itself, but 
it's attached to something higher up the DOM hierarchy. There is no way to 
know, without the actual code-base handy. 
BTW, the number of watchers is less important as one might believe. You can 
bring down a system with a single wrongly written one, and on the opposite 
on that, I had pages with over 20.000 watchers that still performed more 
than well. Watchers are just one of the many indicators. 

Regards
Sander


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to