{"action":"opened","number":43,"pull_request":{"url":"https://api.github.com/repos/Narzerus/angular-permission/pulls/43","id":28450860,"html_url":"https://github.com/Narzerus/angular-permission/pull/43","diff_url":"https://github.com/Narzerus/angular-permission/pull/43.diff","patch_url":"https://github.com/Narzerus/angular-permission/pull/43.patch","issue_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/43","number":43,"state":"open","locked":false,"title":"fix wrong parameters of $stateChangeStart","user":{"login":"flyskyko","id":1835204,"avatar_url":"https://avatars.githubusercontent.com/u/1835204?v=3","gravatar_id":"","url":"https://api.github.com/users/flyskyko","html_url":"https://github.com/flyskyko","followers_url":"https://api.github.com/users/flyskyko/followers","following_url":"https://api.github.com/users/flyskyko/following{/other_user}","gists_url":"https://api.github.com/users/flyskyko/gists{/gist_id}","starred_url":"https://api.github.com/users/flyskyko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyskyko/subscriptions","organizations_url":"https://api.github.com/users/flyskyko/orgs","repos_url":"https://api.github.com/users/flyskyko/repos","events_url":"https://api.github.com/users/flyskyko/events{/privacy}","received_events_url":"https://api.github.com/users/flyskyko/received_events","type":"User","site_admin":false},"body":"I find that angular-permission broadcast a `$stateChangeStart` with wrong parameters.\r\nThe `toState` and `fromState` is a object of state.\r\nBut angular-permission broadcast with a state's name.\r\n\r\nI add a `$$finishAuthorize` for prevent infinite loop.","created_at":"2015-02-02T08:08:11Z","updated_at":"2015-02-02T08:08:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Narzerus/angular-permission/pulls/43/commits","review_comments_url":"https://api.github.com/repos/Narzerus/angular-permission/pulls/43/comments","review_comment_url":"https://api.github.com/repos/Narzerus/angular-permission/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/43/comments","statuses_url":"https://api.github.com/repos/Narzerus/angular-permission/statuses/f68cb495f2c34100dfbc458d330179f5199bed7f","head":{"label":"flyskyko:fix-wrong-parameters-of-stateChangeStart","ref":"fix-wrong-parameters-of-stateChangeStart","sha":"f68cb495f2c34100dfbc458d330179f5199bed7f","user":{"login":"flyskyko","id":1835204,"avatar_url":"https://avatars.githubusercontent.com/u/1835204?v=3","gravatar_id":"","url":"https://api.github.com/users/flyskyko","html_url":"https://github.com/flyskyko","followers_url":"https://api.github.com/users/flyskyko/followers","following_url":"https://api.github.com/users/flyskyko/following{/other_user}","gists_url":"https://api.github.com/users/flyskyko/gists{/gist_id}","starred_url":"https://api.github.com/users/flyskyko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyskyko/subscriptions","organizations_url":"https://api.github.com/users/flyskyko/orgs","repos_url":"https://api.github.com/users/flyskyko/repos","events_url":"https://api.github.com/users/flyskyko/events{/privacy}","received_events_url":"https://api.github.com/users/flyskyko/received_events","type":"User","site_admin":false},"repo":{"id":30174543,"name":"angular-permission","full_name":"flyskyko/angular-permission","owner":{"login":"flyskyko","id":1835204,"avatar_url":"https://avatars.githubusercontent.com/u/1835204?v=3","gravatar_id":"","url":"https://api.github.com/users/flyskyko","html_url":"https://github.com/flyskyko","followers_url":"https://api.github.com/users/flyskyko/followers","following_url":"https://api.github.com/users/flyskyko/following{/other_user}","gists_url":"https://api.github.com/users/flyskyko/gists{/gist_id}","starred_url":"https://api.github.com/users/flyskyko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyskyko/subscriptions","organizations_url":"https://api.github.com/users/flyskyko/orgs","repos_url":"https://api.github.com/users/flyskyko/repos","events_url":"https://api.github.com/users/flyskyko/events{/privacy}","received_events_url":"https://api.github.com/users/flyskyko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flyskyko/angular-permission","description":"Simple route authorization via roles/permissions","fork":true,"url":"https://api.github.com/repos/flyskyko/angular-permission","forks_url":"https://api.github.com/repos/flyskyko/angular-permission/forks","keys_url":"https://api.github.com/repos/flyskyko/angular-permission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flyskyko/angular-permission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flyskyko/angular-permission/teams","hooks_url":"https://api.github.com/repos/flyskyko/angular-permission/hooks","issue_events_url":"https://api.github.com/repos/flyskyko/angular-permission/issues/events{/number}","events_url":"https://api.github.com/repos/flyskyko/angular-permission/events","assignees_url":"https://api.github.com/repos/flyskyko/angular-permission/assignees{/user}","branches_url":"https://api.github.com/repos/flyskyko/angular-permission/branches{/branch}","tags_url":"https://api.github.com/repos/flyskyko/angular-permission/tags","blobs_url":"https://api.github.com/repos/flyskyko/angular-permission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flyskyko/angular-permission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flyskyko/angular-permission/git/refs{/sha}","trees_url":"https://api.github.com/repos/flyskyko/angular-permission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flyskyko/angular-permission/statuses/{sha}","languages_url":"https://api.github.com/repos/flyskyko/angular-permission/languages","stargazers_url":"https://api.github.com/repos/flyskyko/angular-permission/stargazers","contributors_url":"https://api.github.com/repos/flyskyko/angular-permission/contributors","subscribers_url":"https://api.github.com/repos/flyskyko/angular-permission/subscribers","subscription_url":"https://api.github.com/repos/flyskyko/angular-permission/subscription","commits_url":"https://api.github.com/repos/flyskyko/angular-permission/commits{/sha}","git_commits_url":"https://api.github.com/repos/flyskyko/angular-permission/git/commits{/sha}","comments_url":"https://api.github.com/repos/flyskyko/angular-permission/comments{/number}","issue_comment_url":"https://api.github.com/repos/flyskyko/angular-permission/issues/comments/{number}","contents_url":"https://api.github.com/repos/flyskyko/angular-permission/contents/{+path}","compare_url":"https://api.github.com/repos/flyskyko/angular-permission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flyskyko/angular-permission/merges","archive_url":"https://api.github.com/repos/flyskyko/angular-permission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flyskyko/angular-permission/downloads","issues_url":"https://api.github.com/repos/flyskyko/angular-permission/issues{/number}","pulls_url":"https://api.github.com/repos/flyskyko/angular-permission/pulls{/number}","milestones_url":"https://api.github.com/repos/flyskyko/angular-permission/milestones{/number}","notifications_url":"https://api.github.com/repos/flyskyko/angular-permission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flyskyko/angular-permission/labels{/name}","releases_url":"https://api.github.com/repos/flyskyko/angular-permission/releases{/id}","created_at":"2015-02-02T06:38:58Z","updated_at":"2015-02-02T06:38:58Z","pushed_at":"2015-02-02T07:50:35Z","git_url":"git://github.com/flyskyko/angular-permission.git","ssh_url":"git@github.com:flyskyko/angular-permission.git","clone_url":"https://github.com/flyskyko/angular-permission.git","svn_url":"https://github.com/flyskyko/angular-permission","homepage":"","size":482,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Narzerus:development","ref":"development","sha":"8d862cfb9aa210adcaf3ba90e5f4ef9266379f0e","user":{"login":"Narzerus","id":1808674,"avatar_url":"https://avatars.githubusercontent.com/u/1808674?v=3","gravatar_id":"","url":"https://api.github.com/users/Narzerus","html_url":"https://github.com/Narzerus","followers_url":"https://api.github.com/users/Narzerus/followers","following_url":"https://api.github.com/users/Narzerus/following{/other_user}","gists_url":"https://api.github.com/users/Narzerus/gists{/gist_id}","starred_url":"https://api.github.com/users/Narzerus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narzerus/subscriptions","organizations_url":"https://api.github.com/users/Narzerus/orgs","repos_url":"https://api.github.com/users/Narzerus/repos","events_url":"https://api.github.com/users/Narzerus/events{/privacy}","received_events_url":"https://api.github.com/users/Narzerus/received_events","type":"User","site_admin":false},"repo":{"id":23593647,"name":"angular-permission","full_name":"Narzerus/angular-permission","owner":{"login":"Narzerus","id":1808674,"avatar_url":"https://avatars.githubusercontent.com/u/1808674?v=3","gravatar_id":"","url":"https://api.github.com/users/Narzerus","html_url":"https://github.com/Narzerus","followers_url":"https://api.github.com/users/Narzerus/followers","following_url":"https://api.github.com/users/Narzerus/following{/other_user}","gists_url":"https://api.github.com/users/Narzerus/gists{/gist_id}","starred_url":"https://api.github.com/users/Narzerus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narzerus/subscriptions","organizations_url":"https://api.github.com/users/Narzerus/orgs","repos_url":"https://api.github.com/users/Narzerus/repos","events_url":"https://api.github.com/users/Narzerus/events{/privacy}","received_events_url":"https://api.github.com/users/Narzerus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Narzerus/angular-permission","description":"Simple route authorization via roles/permissions","fork":false,"url":"https://api.github.com/repos/Narzerus/angular-permission","forks_url":"https://api.github.com/repos/Narzerus/angular-permission/forks","keys_url":"https://api.github.com/repos/Narzerus/angular-permission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Narzerus/angular-permission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Narzerus/angular-permission/teams","hooks_url":"https://api.github.com/repos/Narzerus/angular-permission/hooks","issue_events_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/events{/number}","events_url":"https://api.github.com/repos/Narzerus/angular-permission/events","assignees_url":"https://api.github.com/repos/Narzerus/angular-permission/assignees{/user}","branches_url":"https://api.github.com/repos/Narzerus/angular-permission/branches{/branch}","tags_url":"https://api.github.com/repos/Narzerus/angular-permission/tags","blobs_url":"https://api.github.com/repos/Narzerus/angular-permission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Narzerus/angular-permission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Narzerus/angular-permission/git/refs{/sha}","trees_url":"https://api.github.com/repos/Narzerus/angular-permission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Narzerus/angular-permission/statuses/{sha}","languages_url":"https://api.github.com/repos/Narzerus/angular-permission/languages","stargazers_url":"https://api.github.com/repos/Narzerus/angular-permission/stargazers","contributors_url":"https://api.github.com/repos/Narzerus/angular-permission/contributors","subscribers_url":"https://api.github.com/repos/Narzerus/angular-permission/subscribers","subscription_url":"https://api.github.com/repos/Narzerus/angular-permission/subscription","commits_url":"https://api.github.com/repos/Narzerus/angular-permission/commits{/sha}","git_commits_url":"https://api.github.com/repos/Narzerus/angular-permission/git/commits{/sha}","comments_url":"https://api.github.com/repos/Narzerus/angular-permission/comments{/number}","issue_comment_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/comments/{number}","contents_url":"https://api.github.com/repos/Narzerus/angular-permission/contents/{+path}","compare_url":"https://api.github.com/repos/Narzerus/angular-permission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Narzerus/angular-permission/merges","archive_url":"https://api.github.com/repos/Narzerus/angular-permission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Narzerus/angular-permission/downloads","issues_url":"https://api.github.com/repos/Narzerus/angular-permission/issues{/number}","pulls_url":"https://api.github.com/repos/Narzerus/angular-permission/pulls{/number}","milestones_url":"https://api.github.com/repos/Narzerus/angular-permission/milestones{/number}","notifications_url":"https://api.github.com/repos/Narzerus/angular-permission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Narzerus/angular-permission/labels{/name}","releases_url":"https://api.github.com/repos/Narzerus/angular-permission/releases{/id}","created_at":"2014-09-02T20:02:07Z","updated_at":"2015-02-01T19:06:22Z","pushed_at":"2015-01-19T19:21:56Z","git_url":"git://github.com/Narzerus/angular-permission.git","ssh_url":"git@github.com:Narzerus/angular-permission.git","clone_url":"https://github.com/Narzerus/angular-permission.git","svn_url":"https://github.com/Narzerus/angular-permission","homepage":"","size":482,"stargazers_count":205,"watchers_count":205,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":16,"forks":30,"open_issues":16,"watchers":205,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Narzerus/angular-permission/pulls/43"},"html":{"href":"https://github.com/Narzerus/angular-permission/pull/43"},"issue":{"href":"https://api.github.com/repos/Narzerus/angular-permission/issues/43"},"comments":{"href":"https://api.github.com/repos/Narzerus/angular-permission/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/Narzerus/angular-permission/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/Narzerus/angular-permission/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Narzerus/angular-permission/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/Narzerus/angular-permission/statuses/f68cb495f2c34100dfbc458d330179f5199bed7f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":56,"deletions":6,"changed_files":3}}