Skip to content

Instantly share code, notes, and snippets.

Tobias Kraze kratob

Block or report user

Report or block kratob

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.