Sitemap
Chris Parton

Chris Parton

1 min readMar 13, 2017

Thanks for sharing this! However, I noticed an inconsistency between your code snippet and the value reported by the angular-watchers Chrome extension.

I raised an issue on their GitHub page and we came to the conclusion that your code is producing an incorrect count, due to it counting duplicate scopes multiple times.

Discussion: https://github.com/tiagojsalmeida/angular-watchers/issues/8.

Cheers,
Chris

--

--