{"action":"opened","issue":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/2009","labels_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2009/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2009/comments","events_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2009/events","html_url":"https://github.com/angular-ui/ui-router/issues/2009","id":84188310,"number":2009,"title":"Dynamic add route from controller","user":{"login":"tushariscoolster","id":5046353,"avatar_url":"https://avatars.githubusercontent.com/u/5046353?v=3","gravatar_id":"","url":"https://api.github.com/users/tushariscoolster","html_url":"https://github.com/tushariscoolster","followers_url":"https://api.github.com/users/tushariscoolster/followers","following_url":"https://api.github.com/users/tushariscoolster/following{/other_user}","gists_url":"https://api.github.com/users/tushariscoolster/gists{/gist_id}","starred_url":"https://api.github.com/users/tushariscoolster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushariscoolster/subscriptions","organizations_url":"https://api.github.com/users/tushariscoolster/orgs","repos_url":"https://api.github.com/users/tushariscoolster/repos","events_url":"https://api.github.com/users/tushariscoolster/events{/privacy}","received_events_url":"https://api.github.com/users/tushariscoolster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-02T20:06:11Z","updated_at":"2015-06-02T20:06:11Z","closed_at":null,"body":"I should be able to dynamicaly add route from controller\r\nlile\r\n```   angular.forEach($state.get(), function (config) { \r\nconfig.tempalteUrl=\"view1\"\r\n        }});```"}}