{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/1758","labels_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1758/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1758/comments","events_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1758/events","html_url":"https://github.com/angular-ui/ui-router/issues/1758","id":57839298,"number":1758,"title":"How to update params of state without reload of controller?","user":{"login":"hyzhak","id":184706,"avatar_url":"https://avatars.githubusercontent.com/u/184706?v=3","gravatar_id":"","url":"https://api.github.com/users/hyzhak","html_url":"https://github.com/hyzhak","followers_url":"https://api.github.com/users/hyzhak/followers","following_url":"https://api.github.com/users/hyzhak/following{/other_user}","gists_url":"https://api.github.com/users/hyzhak/gists{/gist_id}","starred_url":"https://api.github.com/users/hyzhak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyzhak/subscriptions","organizations_url":"https://api.github.com/users/hyzhak/orgs","repos_url":"https://api.github.com/users/hyzhak/repos","events_url":"https://api.github.com/users/hyzhak/events{/privacy}","received_events_url":"https://api.github.com/users/hyzhak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-02-16T18:51:55Z","updated_at":"2015-06-12T00:27:44Z","closed_at":null,"body":"http://plnkr.co/edit/i32gBWblr3JaG2aNcnzg?p=preview\r\nafter you have something like:\r\n``` javascript\r\n$state.go('stateA', {param: newvalue}, notify: false);\r\n```\r\n\r\nany other command like:\r\n``` javascript\r\n$state.go('stateB');\r\n```\r\nor ever\r\n``` javascript\r\n$state.go('stateA.substate');\r\n```\r\nreload controller. \r\n\r\nSteps to reproduce: \r\n1) push 'Reload state'; \r\n2) push 'go to state.index1'; \r\n3) Controller reloads will update to 1; \r\n4) push 'Realod state'; \r\n5) and so on...\r\n\r\n# ReloadOnSearch\r\n```\r\nreloadOnSearch: false\r\n```\r\nDoesn't work because doesn't update params of state and if we go to 'state.index1' we will lost all params from of 'state'."},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/comments/111313991","html_url":"https://github.com/angular-ui/ui-router/issues/1758#issuecomment-111313991","issue_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1758","id":111313991,"user":{"login":"christopherthielen","id":2053478,"avatar_url":"https://avatars.githubusercontent.com/u/2053478?v=3","gravatar_id":"","url":"https://api.github.com/users/christopherthielen","html_url":"https://github.com/christopherthielen","followers_url":"https://api.github.com/users/christopherthielen/followers","following_url":"https://api.github.com/users/christopherthielen/following{/other_user}","gists_url":"https://api.github.com/users/christopherthielen/gists{/gist_id}","starred_url":"https://api.github.com/users/christopherthielen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopherthielen/subscriptions","organizations_url":"https://api.github.com/users/christopherthielen/orgs","repos_url":"https://api.github.com/users/christopherthielen/repos","events_url":"https://api.github.com/users/christopherthielen/events{/privacy}","received_events_url":"https://api.github.com/users/christopherthielen/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T00:27:44Z","updated_at":"2015-06-12T00:27:44Z","body":"`notify: false` doesn't claim to do anything except *suppress the firing of the state events*, which is exactly what it does. Anything beyond that is unspecified. \r\n\r\nWe're not going to spend any more effort on state events, since state events are deprecated in 1.0 (if you want them in 1.0+ you'll have to include a compatibility lib).  `notify: false` may have one or two corner case uses that work fine for some people, but from an API perspective, all that I can say is \"use at your own risk\".\r\n\r\nIf you have a working hack that works for your use case, I say keep using it.  If you have a simple leaf-node state with query params you want to update, use reloadOnSearch=false.   "}}