{"action":"opened","number":4097,"pull_request":{"url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4097","id":41531098,"html_url":"https://github.com/angular-ui/bootstrap/pull/4097","diff_url":"https://github.com/angular-ui/bootstrap/pull/4097.diff","patch_url":"https://github.com/angular-ui/bootstrap/pull/4097.patch","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4097","number":4097,"state":"open","locked":false,"title":"fix(modal): dismiss modal on unschedule destruction","user":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"body":"- Dismiss modal via `modalInstance.dismiss` if the `$scope` undergoes an unscheduled destruction\r\n\r\nPlunker in action [here](http://plnkr.co/edit/pzISwjbVSOdCCZ3v7G67?p=preview)\r\n\r\nThis fixes #3694.","created_at":"2015-08-04T03:20:21Z","updated_at":"2015-08-04T03:20:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5da7ddb3fe926033b61331fbd1f60ac97f2ff81","assignee":null,"milestone":{"url":"https://api.github.com/repos/angular-ui/bootstrap/milestones/23","html_url":"https://github.com/angular-ui/bootstrap/milestones/0.13.3%20(Fixes)","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/milestones/23/labels","id":1232579,"number":23,"title":"0.13.3 (Fixes)","description":"Minor bug fixes & features","creator":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":21,"state":"open","created_at":"2015-07-29T23:58:04Z","updated_at":"2015-08-04T03:20:21Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4097/commits","review_comments_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4097/comments","review_comment_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4097/comments","statuses_url":"https://api.github.com/repos/angular-ui/bootstrap/statuses/be2fd2c57119b8abf9160f450235a3fbdc064639","head":{"label":"wesleycho:fix/modal-scope","ref":"fix/modal-scope","sha":"be2fd2c57119b8abf9160f450235a3fbdc064639","user":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"repo":{"id":16161459,"name":"bootstrap","full_name":"wesleycho/bootstrap","owner":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wesleycho/bootstrap","description":"Native AngularJS (Angular) directives for Twitter's Bootstrap. Small footprint (5kB gzipped!), no 3rd party JS dependencies (jQuery, bootstrap JS) required!","fork":true,"url":"https://api.github.com/repos/wesleycho/bootstrap","forks_url":"https://api.github.com/repos/wesleycho/bootstrap/forks","keys_url":"https://api.github.com/repos/wesleycho/bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wesleycho/bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wesleycho/bootstrap/teams","hooks_url":"https://api.github.com/repos/wesleycho/bootstrap/hooks","issue_events_url":"https://api.github.com/repos/wesleycho/bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/wesleycho/bootstrap/events","assignees_url":"https://api.github.com/repos/wesleycho/bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/wesleycho/bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/wesleycho/bootstrap/tags","blobs_url":"https://api.github.com/repos/wesleycho/bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wesleycho/bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wesleycho/bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/wesleycho/bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wesleycho/bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/wesleycho/bootstrap/languages","stargazers_url":"https://api.github.com/repos/wesleycho/bootstrap/stargazers","contributors_url":"https://api.github.com/repos/wesleycho/bootstrap/contributors","subscribers_url":"https://api.github.com/repos/wesleycho/bootstrap/subscribers","subscription_url":"https://api.github.com/repos/wesleycho/bootstrap/subscription","commits_url":"https://api.github.com/repos/wesleycho/bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/wesleycho/bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/wesleycho/bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/wesleycho/bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/wesleycho/bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/wesleycho/bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wesleycho/bootstrap/merges","archive_url":"https://api.github.com/repos/wesleycho/bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wesleycho/bootstrap/downloads","issues_url":"https://api.github.com/repos/wesleycho/bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/wesleycho/bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/wesleycho/bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/wesleycho/bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wesleycho/bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/wesleycho/bootstrap/releases{/id}","created_at":"2014-01-23T03:43:26Z","updated_at":"2015-03-15T14:40:20Z","pushed_at":"2015-08-04T03:19:34Z","git_url":"git://github.com/wesleycho/bootstrap.git","ssh_url":"git@github.com:wesleycho/bootstrap.git","clone_url":"https://github.com/wesleycho/bootstrap.git","svn_url":"https://github.com/wesleycho/bootstrap","homepage":"http://angular-ui.github.io/bootstrap/","size":4363,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular-ui:master","ref":"master","sha":"707fbf55c04db115d97d785bec292212e410a1ee","user":{"login":"angular-ui","id":1530011,"avatar_url":"https://avatars.githubusercontent.com/u/1530011?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-ui","html_url":"https://github.com/angular-ui","followers_url":"https://api.github.com/users/angular-ui/followers","following_url":"https://api.github.com/users/angular-ui/following{/other_user}","gists_url":"https://api.github.com/users/angular-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-ui/subscriptions","organizations_url":"https://api.github.com/users/angular-ui/orgs","repos_url":"https://api.github.com/users/angular-ui/repos","events_url":"https://api.github.com/users/angular-ui/events{/privacy}","received_events_url":"https://api.github.com/users/angular-ui/received_events","type":"Organization","site_admin":false},"repo":{"id":6094683,"name":"bootstrap","full_name":"angular-ui/bootstrap","owner":{"login":"angular-ui","id":1530011,"avatar_url":"https://avatars.githubusercontent.com/u/1530011?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-ui","html_url":"https://github.com/angular-ui","followers_url":"https://api.github.com/users/angular-ui/followers","following_url":"https://api.github.com/users/angular-ui/following{/other_user}","gists_url":"https://api.github.com/users/angular-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-ui/subscriptions","organizations_url":"https://api.github.com/users/angular-ui/orgs","repos_url":"https://api.github.com/users/angular-ui/repos","events_url":"https://api.github.com/users/angular-ui/events{/privacy}","received_events_url":"https://api.github.com/users/angular-ui/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular-ui/bootstrap","description":"Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!","fork":false,"url":"https://api.github.com/repos/angular-ui/bootstrap","forks_url":"https://api.github.com/repos/angular-ui/bootstrap/forks","keys_url":"https://api.github.com/repos/angular-ui/bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular-ui/bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular-ui/bootstrap/teams","hooks_url":"https://api.github.com/repos/angular-ui/bootstrap/hooks","issue_events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/angular-ui/bootstrap/events","assignees_url":"https://api.github.com/repos/angular-ui/bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/angular-ui/bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/angular-ui/bootstrap/tags","blobs_url":"https://api.github.com/repos/angular-ui/bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular-ui/bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular-ui/bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular-ui/bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular-ui/bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/angular-ui/bootstrap/languages","stargazers_url":"https://api.github.com/repos/angular-ui/bootstrap/stargazers","contributors_url":"https://api.github.com/repos/angular-ui/bootstrap/contributors","subscribers_url":"https://api.github.com/repos/angular-ui/bootstrap/subscribers","subscription_url":"https://api.github.com/repos/angular-ui/bootstrap/subscription","commits_url":"https://api.github.com/repos/angular-ui/bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular-ui/bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular-ui/bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/angular-ui/bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular-ui/bootstrap/merges","archive_url":"https://api.github.com/repos/angular-ui/bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular-ui/bootstrap/downloads","issues_url":"https://api.github.com/repos/angular-ui/bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/angular-ui/bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/angular-ui/bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/angular-ui/bootstrap/releases{/id}","created_at":"2012-10-05T18:27:01Z","updated_at":"2015-08-04T03:12:41Z","pushed_at":"2015-08-04T03:20:21Z","git_url":"git://github.com/angular-ui/bootstrap.git","ssh_url":"git@github.com:angular-ui/bootstrap.git","clone_url":"https://github.com/angular-ui/bootstrap.git","svn_url":"https://github.com/angular-ui/bootstrap","homepage":"http://angular-ui.github.io/bootstrap/","size":21645,"stargazers_count":9709,"watchers_count":9709,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5069,"mirror_url":null,"open_issues_count":443,"forks":5069,"open_issues":443,"watchers":9709,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4097"},"html":{"href":"https://github.com/angular-ui/bootstrap/pull/4097"},"issue":{"href":"https://api.github.com/repos/angular-ui/bootstrap/issues/4097"},"comments":{"href":"https://api.github.com/repos/angular-ui/bootstrap/issues/4097/comments"},"review_comments":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4097/comments"},"review_comment":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4097/commits"},"statuses":{"href":"https://api.github.com/repos/angular-ui/bootstrap/statuses/be2fd2c57119b8abf9160f450235a3fbdc064639"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":0,"changed_files":1}}