In my ui route i check to see if a user is logged in if not they are 
redirected to the login page, it works fine on first instance but when i 
click on a different link the url changes to the login but the view is not 
loaded but rather loads the view for the restricted page as shown in the 
image, this process alternates. i have added a plunker of my app.js here 
<http://plnkr.co/edit/vQ5BwEGVSDzqDj6p8nQI> the checkLogin.js file is the 
part of the code that checks for user authentication and redirects. how do 
i prevent this.  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