Skip to content

Instantly share code, notes, and snippets.

Tobias Kraze kratob

View GitHub Profile
@kratob
kratob / gist:5b8ab643abab86154c18
Created Mar 20, 2015
Bookmarklet to count angular watchers
View gist:5b8ab643abab86154c18
javascript: (function() {
function getWatchCount() {
var total = 0;
var scopeIds = {};
angular.forEach(
document.querySelectorAll( ".ng-scope , .ng-isolate-scope" ),
countWatchersInNode
You can’t perform that action at this time.