-
Notifications
You must be signed in to change notification settings - Fork 3k
Controller initialised after a $state.go with {notify: false} #2108
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
Labels
Comments
It does indeed look like a bug. |
See #2087, looks similar. Very annoying when a controller loads data on initialization. |
similar to #1673 but slightly different I think |
marking as duplicate of #2087 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Bug
When a
$state.go
is called with{notify: false}
as follows, a bug occurred:On the next state change, the current controller will be initialised a second time.
Plunker Link
Follow the steps to reproduce on Plunker:
http://plnkr.co/edit/wMiVOb?p=preview
The text was updated successfully, but these errors were encountered: