{"action":"created","issue":{"url":"https://api.github.com/repos/ng2-dart-samples/bootstrap-alert/issues/1","labels_url":"https://api.github.com/repos/ng2-dart-samples/bootstrap-alert/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ng2-dart-samples/bootstrap-alert/issues/1/comments","events_url":"https://api.github.com/repos/ng2-dart-samples/bootstrap-alert/issues/1/events","html_url":"https://github.com/ng2-dart-samples/bootstrap-alert/pull/1","id":108371437,"number":1,"title":"Change logic for remove element","user":{"login":"luisvt","id":1688987,"avatar_url":"https://avatars.githubusercontent.com/u/1688987?v=3","gravatar_id":"","url":"https://api.github.com/users/luisvt","html_url":"https://github.com/luisvt","followers_url":"https://api.github.com/users/luisvt/followers","following_url":"https://api.github.com/users/luisvt/following{/other_user}","gists_url":"https://api.github.com/users/luisvt/gists{/gist_id}","starred_url":"https://api.github.com/users/luisvt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisvt/subscriptions","organizations_url":"https://api.github.com/users/luisvt/orgs","repos_url":"https://api.github.com/users/luisvt/repos","events_url":"https://api.github.com/users/luisvt/events{/privacy}","received_events_url":"https://api.github.com/users/luisvt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T17:23:20Z","updated_at":"2015-09-25T20:35:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ng2-dart-samples/bootstrap-alert/pulls/1","html_url":"https://github.com/ng2-dart-samples/bootstrap-alert/pull/1","diff_url":"https://github.com/ng2-dart-samples/bootstrap-alert/pull/1.diff","patch_url":"https://github.com/ng2-dart-samples/bootstrap-alert/pull/1.patch"},"body":"Use elementRef.nativeElement.remove() to delete element instead model.closed"},"comment":{"url":"https://api.github.com/repos/ng2-dart-samples/bootstrap-alert/issues/comments/143347433","html_url":"https://github.com/ng2-dart-samples/bootstrap-alert/pull/1#issuecomment-143347433","issue_url":"https://api.github.com/repos/ng2-dart-samples/bootstrap-alert/issues/1","id":143347433,"user":{"login":"kasperpeulen","id":1035299,"avatar_url":"https://avatars.githubusercontent.com/u/1035299?v=3","gravatar_id":"","url":"https://api.github.com/users/kasperpeulen","html_url":"https://github.com/kasperpeulen","followers_url":"https://api.github.com/users/kasperpeulen/followers","following_url":"https://api.github.com/users/kasperpeulen/following{/other_user}","gists_url":"https://api.github.com/users/kasperpeulen/gists{/gist_id}","starred_url":"https://api.github.com/users/kasperpeulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasperpeulen/subscriptions","organizations_url":"https://api.github.com/users/kasperpeulen/orgs","repos_url":"https://api.github.com/users/kasperpeulen/repos","events_url":"https://api.github.com/users/kasperpeulen/events{/privacy}","received_events_url":"https://api.github.com/users/kasperpeulen/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T20:35:48Z","updated_at":"2015-09-25T20:35:48Z","body":"@luisvt \r\nas discussed on slack, maybe using model.closed is better\r\nin this way, the user can let the alert reappear in the same place with setting `model.closed = true` again\r\nand the complete element can be removed from parent, if that is necessary"}}