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

Does "getStatesChain" consider state parameters to add a state to the state chain? #167

Open
shirodkarsohan opened this issue Sep 27, 2016 · 0 comments

Comments

@shirodkarsohan
Copy link

I have a UI-router state that takes route parameters.

.state('browse.category', {
  url: '/category/:categoryName/:catID',
  views: {
     'categories': {
        templateUrl: "modules/trulo/client/views/browse.categories.html",
        controller: "CategoriesController"
      }
  }
}

If I navigate from this state(say browse.category({param1})) to the same state with different state parameters(say browse.category({param2})) , the previous state i.e. browse.category({param1}) is not added to the state chain.

This is evident on printing out the result of $breadcrumb.getStatesChain().

Is there any way to enable it to store the previous same state with different state parameters?

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

1 participant