4 ms·
Maybe 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
by lars 12y ago
Maybe 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.