{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/mirego/ui-router/pulls/2","id":68129758,"html_url":"https://github.com/mirego/ui-router/pull/2","diff_url":"https://github.com/mirego/ui-router/pull/2.diff","patch_url":"https://github.com/mirego/ui-router/pull/2.patch","issue_url":"https://api.github.com/repos/mirego/ui-router/issues/2","number":2,"state":"closed","locked":false,"title":"Add a way to only reinitialize UrlRouterProvider rules","user":{"login":"pascalhamel","id":903873,"avatar_url":"https://avatars.githubusercontent.com/u/903873?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalhamel","html_url":"https://github.com/pascalhamel","followers_url":"https://api.github.com/users/pascalhamel/followers","following_url":"https://api.github.com/users/pascalhamel/following{/other_user}","gists_url":"https://api.github.com/users/pascalhamel/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalhamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalhamel/subscriptions","organizations_url":"https://api.github.com/users/pascalhamel/orgs","repos_url":"https://api.github.com/users/pascalhamel/repos","events_url":"https://api.github.com/users/pascalhamel/events{/privacy}","received_events_url":"https://api.github.com/users/pascalhamel/received_events","type":"User","site_admin":false},"body":"Dans notre cas, on ne doit pas réinitialiser le `otherwise` puisque `futureStates` s'en sert! J'ai donc gardé des façons de réinitialiser individuellement chaque composant.","created_at":"2016-04-27T21:40:14Z","updated_at":"2016-04-27T23:31:46Z","closed_at":"2016-04-27T23:31:46Z","merged_at":"2016-04-27T23:31:46Z","merge_commit_sha":"d032f886fd62911520d2192a922245d1a5eaab3e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mirego/ui-router/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mirego/ui-router/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mirego/ui-router/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mirego/ui-router/issues/2/comments","statuses_url":"https://api.github.com/repos/mirego/ui-router/statuses/7fac634b616cb654bf60b54132c34c5757e6af85","head":{"label":"mirego:feature/init-rules","ref":"feature/init-rules","sha":"7fac634b616cb654bf60b54132c34c5757e6af85","user":{"login":"mirego","id":1202891,"avatar_url":"https://avatars.githubusercontent.com/u/1202891?v=3","gravatar_id":"","url":"https://api.github.com/users/mirego","html_url":"https://github.com/mirego","followers_url":"https://api.github.com/users/mirego/followers","following_url":"https://api.github.com/users/mirego/following{/other_user}","gists_url":"https://api.github.com/users/mirego/gists{/gist_id}","starred_url":"https://api.github.com/users/mirego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirego/subscriptions","organizations_url":"https://api.github.com/users/mirego/orgs","repos_url":"https://api.github.com/users/mirego/repos","events_url":"https://api.github.com/users/mirego/events{/privacy}","received_events_url":"https://api.github.com/users/mirego/received_events","type":"Organization","site_admin":false},"repo":{"id":57237637,"name":"ui-router","full_name":"mirego/ui-router","owner":{"login":"mirego","id":1202891,"avatar_url":"https://avatars.githubusercontent.com/u/1202891?v=3","gravatar_id":"","url":"https://api.github.com/users/mirego","html_url":"https://github.com/mirego","followers_url":"https://api.github.com/users/mirego/followers","following_url":"https://api.github.com/users/mirego/following{/other_user}","gists_url":"https://api.github.com/users/mirego/gists{/gist_id}","starred_url":"https://api.github.com/users/mirego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirego/subscriptions","organizations_url":"https://api.github.com/users/mirego/orgs","repos_url":"https://api.github.com/users/mirego/repos","events_url":"https://api.github.com/users/mirego/events{/privacy}","received_events_url":"https://api.github.com/users/mirego/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mirego/ui-router","description":"The de-facto solution to flexible routing with nested views in AngularJS","fork":true,"url":"https://api.github.com/repos/mirego/ui-router","forks_url":"https://api.github.com/repos/mirego/ui-router/forks","keys_url":"https://api.github.com/repos/mirego/ui-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mirego/ui-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mirego/ui-router/teams","hooks_url":"https://api.github.com/repos/mirego/ui-router/hooks","issue_events_url":"https://api.github.com/repos/mirego/ui-router/issues/events{/number}","events_url":"https://api.github.com/repos/mirego/ui-router/events","assignees_url":"https://api.github.com/repos/mirego/ui-router/assignees{/user}","branches_url":"https://api.github.com/repos/mirego/ui-router/branches{/branch}","tags_url":"https://api.github.com/repos/mirego/ui-router/tags","blobs_url":"https://api.github.com/repos/mirego/ui-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mirego/ui-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mirego/ui-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/mirego/ui-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mirego/ui-router/statuses/{sha}","languages_url":"https://api.github.com/repos/mirego/ui-router/languages","stargazers_url":"https://api.github.com/repos/mirego/ui-router/stargazers","contributors_url":"https://api.github.com/repos/mirego/ui-router/contributors","subscribers_url":"https://api.github.com/repos/mirego/ui-router/subscribers","subscription_url":"https://api.github.com/repos/mirego/ui-router/subscription","commits_url":"https://api.github.com/repos/mirego/ui-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/mirego/ui-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/mirego/ui-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/mirego/ui-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/mirego/ui-router/contents/{+path}","compare_url":"https://api.github.com/repos/mirego/ui-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mirego/ui-router/merges","archive_url":"https://api.github.com/repos/mirego/ui-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mirego/ui-router/downloads","issues_url":"https://api.github.com/repos/mirego/ui-router/issues{/number}","pulls_url":"https://api.github.com/repos/mirego/ui-router/pulls{/number}","milestones_url":"https://api.github.com/repos/mirego/ui-router/milestones{/number}","notifications_url":"https://api.github.com/repos/mirego/ui-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mirego/ui-router/labels{/name}","releases_url":"https://api.github.com/repos/mirego/ui-router/releases{/id}","deployments_url":"https://api.github.com/repos/mirego/ui-router/deployments","created_at":"2016-04-27T18:47:03Z","updated_at":"2016-04-27T18:47:09Z","pushed_at":"2016-04-27T23:31:47Z","git_url":"git://github.com/mirego/ui-router.git","ssh_url":"git@github.com:mirego/ui-router.git","clone_url":"https://github.com/mirego/ui-router.git","svn_url":"https://github.com/mirego/ui-router","homepage":"http://angular-ui.github.io/ui-router/site","size":7430,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"mirego:legacy","ref":"legacy","sha":"bb4a048d6c3b0f3ca35dfca41d436d3e13bfd9f2","user":{"login":"mirego","id":1202891,"avatar_url":"https://avatars.githubusercontent.com/u/1202891?v=3","gravatar_id":"","url":"https://api.github.com/users/mirego","html_url":"https://github.com/mirego","followers_url":"https://api.github.com/users/mirego/followers","following_url":"https://api.github.com/users/mirego/following{/other_user}","gists_url":"https://api.github.com/users/mirego/gists{/gist_id}","starred_url":"https://api.github.com/users/mirego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirego/subscriptions","organizations_url":"https://api.github.com/users/mirego/orgs","repos_url":"https://api.github.com/users/mirego/repos","events_url":"https://api.github.com/users/mirego/events{/privacy}","received_events_url":"https://api.github.com/users/mirego/received_events","type":"Organization","site_admin":false},"repo":{"id":57237637,"name":"ui-router","full_name":"mirego/ui-router","owner":{"login":"mirego","id":1202891,"avatar_url":"https://avatars.githubusercontent.com/u/1202891?v=3","gravatar_id":"","url":"https://api.github.com/users/mirego","html_url":"https://github.com/mirego","followers_url":"https://api.github.com/users/mirego/followers","following_url":"https://api.github.com/users/mirego/following{/other_user}","gists_url":"https://api.github.com/users/mirego/gists{/gist_id}","starred_url":"https://api.github.com/users/mirego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirego/subscriptions","organizations_url":"https://api.github.com/users/mirego/orgs","repos_url":"https://api.github.com/users/mirego/repos","events_url":"https://api.github.com/users/mirego/events{/privacy}","received_events_url":"https://api.github.com/users/mirego/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mirego/ui-router","description":"The de-facto solution to flexible routing with nested views in AngularJS","fork":true,"url":"https://api.github.com/repos/mirego/ui-router","forks_url":"https://api.github.com/repos/mirego/ui-router/forks","keys_url":"https://api.github.com/repos/mirego/ui-router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mirego/ui-router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mirego/ui-router/teams","hooks_url":"https://api.github.com/repos/mirego/ui-router/hooks","issue_events_url":"https://api.github.com/repos/mirego/ui-router/issues/events{/number}","events_url":"https://api.github.com/repos/mirego/ui-router/events","assignees_url":"https://api.github.com/repos/mirego/ui-router/assignees{/user}","branches_url":"https://api.github.com/repos/mirego/ui-router/branches{/branch}","tags_url":"https://api.github.com/repos/mirego/ui-router/tags","blobs_url":"https://api.github.com/repos/mirego/ui-router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mirego/ui-router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mirego/ui-router/git/refs{/sha}","trees_url":"https://api.github.com/repos/mirego/ui-router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mirego/ui-router/statuses/{sha}","languages_url":"https://api.github.com/repos/mirego/ui-router/languages","stargazers_url":"https://api.github.com/repos/mirego/ui-router/stargazers","contributors_url":"https://api.github.com/repos/mirego/ui-router/contributors","subscribers_url":"https://api.github.com/repos/mirego/ui-router/subscribers","subscription_url":"https://api.github.com/repos/mirego/ui-router/subscription","commits_url":"https://api.github.com/repos/mirego/ui-router/commits{/sha}","git_commits_url":"https://api.github.com/repos/mirego/ui-router/git/commits{/sha}","comments_url":"https://api.github.com/repos/mirego/ui-router/comments{/number}","issue_comment_url":"https://api.github.com/repos/mirego/ui-router/issues/comments{/number}","contents_url":"https://api.github.com/repos/mirego/ui-router/contents/{+path}","compare_url":"https://api.github.com/repos/mirego/ui-router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mirego/ui-router/merges","archive_url":"https://api.github.com/repos/mirego/ui-router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mirego/ui-router/downloads","issues_url":"https://api.github.com/repos/mirego/ui-router/issues{/number}","pulls_url":"https://api.github.com/repos/mirego/ui-router/pulls{/number}","milestones_url":"https://api.github.com/repos/mirego/ui-router/milestones{/number}","notifications_url":"https://api.github.com/repos/mirego/ui-router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mirego/ui-router/labels{/name}","releases_url":"https://api.github.com/repos/mirego/ui-router/releases{/id}","deployments_url":"https://api.github.com/repos/mirego/ui-router/deployments","created_at":"2016-04-27T18:47:03Z","updated_at":"2016-04-27T18:47:09Z","pushed_at":"2016-04-27T23:31:47Z","git_url":"git://github.com/mirego/ui-router.git","ssh_url":"git@github.com:mirego/ui-router.git","clone_url":"https://github.com/mirego/ui-router.git","svn_url":"https://github.com/mirego/ui-router","homepage":"http://angular-ui.github.io/ui-router/site","size":7430,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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"}},"_links":{"self":{"href":"https://api.github.com/repos/mirego/ui-router/pulls/2"},"html":{"href":"https://github.com/mirego/ui-router/pull/2"},"issue":{"href":"https://api.github.com/repos/mirego/ui-router/issues/2"},"comments":{"href":"https://api.github.com/repos/mirego/ui-router/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mirego/ui-router/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mirego/ui-router/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mirego/ui-router/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mirego/ui-router/statuses/7fac634b616cb654bf60b54132c34c5757e6af85"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pascalhamel","id":903873,"avatar_url":"https://avatars.githubusercontent.com/u/903873?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalhamel","html_url":"https://github.com/pascalhamel","followers_url":"https://api.github.com/users/pascalhamel/followers","following_url":"https://api.github.com/users/pascalhamel/following{/other_user}","gists_url":"https://api.github.com/users/pascalhamel/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalhamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalhamel/subscriptions","organizations_url":"https://api.github.com/users/pascalhamel/orgs","repos_url":"https://api.github.com/users/pascalhamel/repos","events_url":"https://api.github.com/users/pascalhamel/events{/privacy}","received_events_url":"https://api.github.com/users/pascalhamel/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":10,"deletions":2,"changed_files":1}}