{"action":"created","issue":{"url":"https://api.github.com/repos/Narzerus/angular-permission/issues/203","repository_url":"https://api.github.com/repos/Narzerus/angular-permission","labels_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/203/comments","events_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/203/events","html_url":"https://github.com/Narzerus/angular-permission/issues/203","id":143035164,"number":203,"title":"Reload Permissions?","user":{"login":"twizzzlers","id":13772560,"avatar_url":"https://avatars.githubusercontent.com/u/13772560?v=3","gravatar_id":"","url":"https://api.github.com/users/twizzzlers","html_url":"https://github.com/twizzzlers","followers_url":"https://api.github.com/users/twizzzlers/followers","following_url":"https://api.github.com/users/twizzzlers/following{/other_user}","gists_url":"https://api.github.com/users/twizzzlers/gists{/gist_id}","starred_url":"https://api.github.com/users/twizzzlers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twizzzlers/subscriptions","organizations_url":"https://api.github.com/users/twizzzlers/orgs","repos_url":"https://api.github.com/users/twizzzlers/repos","events_url":"https://api.github.com/users/twizzzlers/events{/privacy}","received_events_url":"https://api.github.com/users/twizzzlers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Narzerus/angular-permission/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-23T17:59:20Z","updated_at":"2016-03-28T14:23:41Z","closed_at":"2016-03-25T18:03:47Z","body":"Is there a way to reload the permissions? Right now the permissions only execute once in the angular.run method. Tried to put the definePermissions method in a factory and it didnt do anything.\r\n\r\nThanks for the attention."},"comment":{"url":"https://api.github.com/repos/Narzerus/angular-permission/issues/comments/202413691","html_url":"https://github.com/Narzerus/angular-permission/issues/203#issuecomment-202413691","issue_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/203","id":202413691,"user":{"login":"twizzzlers","id":13772560,"avatar_url":"https://avatars.githubusercontent.com/u/13772560?v=3","gravatar_id":"","url":"https://api.github.com/users/twizzzlers","html_url":"https://github.com/twizzzlers","followers_url":"https://api.github.com/users/twizzzlers/followers","following_url":"https://api.github.com/users/twizzzlers/following{/other_user}","gists_url":"https://api.github.com/users/twizzzlers/gists{/gist_id}","starred_url":"https://api.github.com/users/twizzzlers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twizzzlers/subscriptions","organizations_url":"https://api.github.com/users/twizzzlers/orgs","repos_url":"https://api.github.com/users/twizzzlers/repos","events_url":"https://api.github.com/users/twizzzlers/events{/privacy}","received_events_url":"https://api.github.com/users/twizzzlers/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T14:23:41Z","updated_at":"2016-03-28T14:23:41Z","body":"Tried with $state.reload, it didnt wokr.. updated plunkr: https://plnkr.co/edit/EewwhpFNnWSp6rRK6WqX?p=preview, thanks for the attention..."}}