Skip to content

same controller and state is reloaded after using $state.go then trying to navigate to a new state #2140

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

Closed
btm1 opened this issue Jul 29, 2015 · 1 comment

Comments

@btm1
Copy link

btm1 commented Jul 29, 2015

If you use $state.go($state.current.name,params,{notify:false, reload:false, location:'replace', inherit:true}) to change the URL params without reloading the current state .... and then you click another link ( i.e. #/somenewstate/somepage?blah=1) the same controller and same state that you are currently on just gets reloaded (sometimes with the original params before you had used $state.go to change them).

Does anyone have a fix for this or know of a way to stop it from doing this? Is this a known issue?

@eddiemonge
Copy link
Contributor

duplicate of #1673

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

No branches or pull requests

2 participants