How to access/update $rootScope from outside Angular
Except for very, very rare cases or debugging purposes, doing this is just BAD practice (or an indication of BAD application design)! For the very, very rare cases (or debugging), you can do it like this: Access an element that you know is part of the app and wrap it as a jqLite/jQuery element. Get … Read more