Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$routeChangeSuccess is fired before route has been resolved #73

Open
yeraycaballero opened this issue Oct 27, 2014 · 1 comment
Open

Comments

@yeraycaballero
Copy link

It seems $routeChangeSuccess is fired before is supposed to. Basically is not waiting for resolving $routeProvider.resolve hash of promises. I have prepared a plunker http://plnkr.co/edit/Hvqejt that reproduces it

Current code follows this order

  1. $routeChangeStart
  2. $routeChangeSuccess
  3. route is resolved

whereas it should be

  1. $routeChangeStart
  2. route is resolved
  3. $routeChangeSuccess
@krystiangw
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants