Hi! Have you found any solution to reset $rootScope?

On Friday, November 9, 2012 4:56:18 AM UTC+5:30, [email protected] wrote:
>
> 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
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to