Hi there,
I am just wondering if there is any way to reset the $rootScope? I'm running into the problem where I have an authentication process and after I've logged out, I'm back on the login page. However, when there is a failed login, $digest seems to check the views that are beyond the authentication process for changes which breaks my application. Is there an example on how to deal with this?
As a note, I'm using jQuery for my ajax requests and in my callbacks, I use $apply to update my views.
Thanks