{"action":"created","issue":{"url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/1181","repository_url":"https://api.github.com/repos/valor-software/ng2-bootstrap","labels_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/1181/labels{/name}","comments_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/1181/comments","events_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/1181/events","html_url":"https://github.com/valor-software/ng2-bootstrap/issues/1181","id":186176337,"number":1181,"title":"Component modals","user":{"login":"dmlukichev","id":3776413,"avatar_url":"https://avatars.githubusercontent.com/u/3776413?v=3","gravatar_id":"","url":"https://api.github.com/users/dmlukichev","html_url":"https://github.com/dmlukichev","followers_url":"https://api.github.com/users/dmlukichev/followers","following_url":"https://api.github.com/users/dmlukichev/following{/other_user}","gists_url":"https://api.github.com/users/dmlukichev/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlukichev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlukichev/subscriptions","organizations_url":"https://api.github.com/users/dmlukichev/orgs","repos_url":"https://api.github.com/users/dmlukichev/repos","events_url":"https://api.github.com/users/dmlukichev/events{/privacy}","received_events_url":"https://api.github.com/users/dmlukichev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-31T00:19:32Z","updated_at":"2016-12-06T16:02:08Z","closed_at":null,"body":"I have a couple of places in different components, where I open similar modal (for instance, 'settings')\nNow I have to declare independent component that I insert everywhere, get access to it with `ViewChild` and proxy `show()` function to `bsModal` directive. But, imho, it's not best way to do this.\n\nIs there a way to open component modals as we could in `ui-bootstrap`:\nhttps://angular-ui.github.io/bootstrap/#/modal : $ctrl.openComponentModal section\n"},"comment":{"url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/comments/265189149","html_url":"https://github.com/valor-software/ng2-bootstrap/issues/1181#issuecomment-265189149","issue_url":"https://api.github.com/repos/valor-software/ng2-bootstrap/issues/1181","id":265189149,"user":{"login":"denaje","id":115632,"avatar_url":"https://avatars.githubusercontent.com/u/115632?v=3","gravatar_id":"","url":"https://api.github.com/users/denaje","html_url":"https://github.com/denaje","followers_url":"https://api.github.com/users/denaje/followers","following_url":"https://api.github.com/users/denaje/following{/other_user}","gists_url":"https://api.github.com/users/denaje/gists{/gist_id}","starred_url":"https://api.github.com/users/denaje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denaje/subscriptions","organizations_url":"https://api.github.com/users/denaje/orgs","repos_url":"https://api.github.com/users/denaje/repos","events_url":"https://api.github.com/users/denaje/events{/privacy}","received_events_url":"https://api.github.com/users/denaje/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T16:02:08Z","updated_at":"2016-12-06T16:02:08Z","body":"This would be very nice indeed!"}}
{"actor":{"display_login":"denaje"}}