{"action":"created","issue":{"url":"https://api.github.com/repos/Schlogen/angular-confirm/issues/9","labels_url":"https://api.github.com/repos/Schlogen/angular-confirm/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Schlogen/angular-confirm/issues/9/comments","events_url":"https://api.github.com/repos/Schlogen/angular-confirm/issues/9/events","html_url":"https://github.com/Schlogen/angular-confirm/pull/9","id":92886092,"number":9,"title":"Ensure confirm modal is triggered even when the `confirmIf` attribute is not present (AngularJS 1.4.x only)","user":{"login":"almeidap","id":46221,"avatar_url":"https://avatars.githubusercontent.com/u/46221?v=3","gravatar_id":"","url":"https://api.github.com/users/almeidap","html_url":"https://github.com/almeidap","followers_url":"https://api.github.com/users/almeidap/followers","following_url":"https://api.github.com/users/almeidap/following{/other_user}","gists_url":"https://api.github.com/users/almeidap/gists{/gist_id}","starred_url":"https://api.github.com/users/almeidap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almeidap/subscriptions","organizations_url":"https://api.github.com/users/almeidap/orgs","repos_url":"https://api.github.com/users/almeidap/repos","events_url":"https://api.github.com/users/almeidap/events{/privacy}","received_events_url":"https://api.github.com/users/almeidap/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-03T14:27:24Z","updated_at":"2015-07-14T17:10:54Z","closed_at":"2015-07-14T17:07:40Z","pull_request":{"url":"https://api.github.com/repos/Schlogen/angular-confirm/pulls/9","html_url":"https://github.com/Schlogen/angular-confirm/pull/9","diff_url":"https://github.com/Schlogen/angular-confirm/pull/9.diff","patch_url":"https://github.com/Schlogen/angular-confirm/pull/9.patch"},"body":"… and refactor to avoid using `$watch()`.\r\n\r\nIt seems that, since AngularJS 1.4, the `confirmIf` key is always present in the `attrs` object, even when it is not declared in the HTML markup:\r\nhttps://github.com/Schlogen/angular-confirm/blob/1.0.4/angular-confirm.js#L82"},"comment":{"url":"https://api.github.com/repos/Schlogen/angular-confirm/issues/comments/121311271","html_url":"https://github.com/Schlogen/angular-confirm/pull/9#issuecomment-121311271","issue_url":"https://api.github.com/repos/Schlogen/angular-confirm/issues/9","id":121311271,"user":{"login":"almeidap","id":46221,"avatar_url":"https://avatars.githubusercontent.com/u/46221?v=3","gravatar_id":"","url":"https://api.github.com/users/almeidap","html_url":"https://github.com/almeidap","followers_url":"https://api.github.com/users/almeidap/followers","following_url":"https://api.github.com/users/almeidap/following{/other_user}","gists_url":"https://api.github.com/users/almeidap/gists{/gist_id}","starred_url":"https://api.github.com/users/almeidap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almeidap/subscriptions","organizations_url":"https://api.github.com/users/almeidap/orgs","repos_url":"https://api.github.com/users/almeidap/repos","events_url":"https://api.github.com/users/almeidap/events{/privacy}","received_events_url":"https://api.github.com/users/almeidap/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T17:10:54Z","updated_at":"2015-07-14T17:10:54Z","body":"You are welcome! ;)"}}