Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


I'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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: