I'm stuck on exactly that same issue.

I've a rejected route after login was cancelled that was needed for route 
resolve. My login form is shown as a popup. I don't want to redirect to 
another page, but only change that wrong location url.

Any ideas?



Am Freitag, 14. Dezember 2012 17:18:40 UTC+1 schrieb Geoff Goodman:
>
> Suppose that my app has a base route '/' and a view route '/:id' and I 
> would like to preserve the state of the '/' path and its content in the 
> event of a failed route change to '/:id'.
>
> Beyond that, I would also like the $location to revert to '/' in the event 
> of a failed resolve *without* re-triggering the route. It should just be 
> as if nothing happened.
>
> I've created a demo of the situation: http://plnkr.co/edit/D24GOW
>

-- 
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/groups/opt_out.

Reply via email to