{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/582","labels_url":"https://api.github.com/repos/angular-ui/ui-router/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-router/issues/582/comments","events_url":"https://api.github.com/repos/angular-ui/ui-router/issues/582/events","html_url":"https://github.com/angular-ui/ui-router/issues/582","id":22654481,"number":582,"title":"$state.reload() should reinitialize the controller","user":{"login":"ghengeveld","id":321738,"avatar_url":"https://avatars.githubusercontent.com/u/321738?v=3","gravatar_id":"","url":"https://api.github.com/users/ghengeveld","html_url":"https://github.com/ghengeveld","followers_url":"https://api.github.com/users/ghengeveld/followers","following_url":"https://api.github.com/users/ghengeveld/following{/other_user}","gists_url":"https://api.github.com/users/ghengeveld/gists{/gist_id}","starred_url":"https://api.github.com/users/ghengeveld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghengeveld/subscriptions","organizations_url":"https://api.github.com/users/ghengeveld/orgs","repos_url":"https://api.github.com/users/ghengeveld/repos","events_url":"https://api.github.com/users/ghengeveld/events{/privacy}","received_events_url":"https://api.github.com/users/ghengeveld/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/ui-router/labels/bug","name":"bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/angular-ui/ui-router/milestones/5","html_url":"https://github.com/angular-ui/ui-router/milestones/0.2.12","labels_url":"https://api.github.com/repos/angular-ui/ui-router/milestones/5/labels","id":773089,"number":5,"title":"0.2.12","description":"- Configurable/typed parameters\r\n- Bug Fixes","creator":{"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},"open_issues":0,"closed_issues":51,"state":"closed","created_at":"2014-08-31T15:55:23Z","updated_at":"2014-11-21T03:00:27Z","due_on":"2014-10-21T07:00:00Z","closed_at":"2014-11-16T14:51:22Z"},"comments":151,"created_at":"2013-11-14T10:35:56Z","updated_at":"2015-08-05T08:51:58Z","closed_at":"2014-11-08T21:52:48Z","body":"As discussed in #76, $state.reload() does reload the resolves, but doesn't reinitialize the controller with the newly resolved values. Since the whole point of reloading the resolves is to refresh the scope with the new data, reinitializing the controller is a requirement for $state.reload() to be of any use.\r\n\r\nDemo: http://plnkr.co/edit/GNr1bN?p=preview"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/comments/127919558","html_url":"https://github.com/angular-ui/ui-router/issues/582#issuecomment-127919558","issue_url":"https://api.github.com/repos/angular-ui/ui-router/issues/582","id":127919558,"user":{"login":"mgamsjager","id":3090587,"avatar_url":"https://avatars.githubusercontent.com/u/3090587?v=3","gravatar_id":"","url":"https://api.github.com/users/mgamsjager","html_url":"https://github.com/mgamsjager","followers_url":"https://api.github.com/users/mgamsjager/followers","following_url":"https://api.github.com/users/mgamsjager/following{/other_user}","gists_url":"https://api.github.com/users/mgamsjager/gists{/gist_id}","starred_url":"https://api.github.com/users/mgamsjager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgamsjager/subscriptions","organizations_url":"https://api.github.com/users/mgamsjager/orgs","repos_url":"https://api.github.com/users/mgamsjager/repos","events_url":"https://api.github.com/users/mgamsjager/events{/privacy}","received_events_url":"https://api.github.com/users/mgamsjager/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T08:51:58Z","updated_at":"2015-08-05T08:51:58Z","body":"For the people using Ionic. You can disable the cache per view by adding cache-view=\"false\" to the <ion-view> \r\n\r\ncache:false in the state definition or $state.go with reload parameter didn't help when using the Ionic framework."}}