3 ms·
I can't get the script who counts the bindings to run. Any help? Uncaught TypeError: Cannot read property '$$nextSibling' of undefined
by xfalcox 12y ago
I can't get the script who counts the bindings to run. Any help?
Uncaught TypeError: Cannot read property '$$nextSibling' of undefined
- lars 12y agoMaybe you're not using ng-app? In that case, document.querySelectorAll("[ng-app]") wont return any elements, and it wont find the root scope. Replacing "[ng-app]" with a selector that finds your root element should work I think.
- xfalcox 12y agoI'm using the deferred bootstrap indeed. Changed to body and now the script works, thanks! By the way, very nice article, and after working with some real time angular apps, the thing that haunt me the most is the number os binds. People just want more information, and it can hard to explain that we have a limit.
- grumblestumble 12y agoI use https://gist.githubusercontent.com/DTFagus/3966db108a578f2eb00d/raw/b1cfa662f8b777dbe07fec51d49d3fc5d3d9cb87/analyse_watchers.js https://gist.githubusercontent.com/DTFagus/3966db108a578f2eb...