I need to switch to a new state in my AngularJS app. I am using ui-router to manage the states. The current URL contains query parameters that I use. The URL for the new state should not contain those query parameters. I tried setting the inherit option to false in calls to both $state.go and $state.transitionTo, but neither removed the query parameters. Is that another way to do this?
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
ui.router
definitely does not do. Could you post a Plunkr that reproduces the behavior so we could see it in action? – Nate Abele Dec 4 '13 at 12:51$location
service. – Nate Abele Dec 6 '13 at 3:12