{"action":"created","issue":{"url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/331","repository_url":"https://api.github.com/repos/shlomiassaf/angular2-modal","labels_url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/331/comments","events_url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/331/events","html_url":"https://github.com/shlomiassaf/angular2-modal/issues/331","id":218752104,"number":331,"title":"Custom modal in a lazy-loaded module (Webpack)","user":{"login":"pilgylis","id":3971738,"avatar_url":"https://avatars1.githubusercontent.com/u/3971738?v=3","gravatar_id":"","url":"https://api.github.com/users/pilgylis","html_url":"https://github.com/pilgylis","followers_url":"https://api.github.com/users/pilgylis/followers","following_url":"https://api.github.com/users/pilgylis/following{/other_user}","gists_url":"https://api.github.com/users/pilgylis/gists{/gist_id}","starred_url":"https://api.github.com/users/pilgylis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pilgylis/subscriptions","organizations_url":"https://api.github.com/users/pilgylis/orgs","repos_url":"https://api.github.com/users/pilgylis/repos","events_url":"https://api.github.com/users/pilgylis/events{/privacy}","received_events_url":"https://api.github.com/users/pilgylis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-04-02T09:13:12Z","updated_at":"2017-05-18T03:01:37Z","closed_at":null,"body":"Fork URL: https://github.com/pilgylis/angular2-webpack-starter/tree/master\r\n\r\n* **I'm submitting a ...**\r\n[x ] bug report\r\n[ ] feature request\r\n[ ] question about the decisions made in the repository\r\n\r\n* **Do you want to request a *feature* or report a *bug*?**\r\n\r\n\r\n\r\n* **What is the current behavior?**\r\nI have a custom dialog in a lazy-loaded module. When trying to show it, an error \"No component factory found for TestDialog1Component. Did you add it to @NgModule.entryComponents?\" was encountered.\r\n\r\n\r\n* **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem** via\r\nhttps://plnkr.co or similar (you can use one of the templates above as a starting point).\r\nFork URL: https://github.com/pilgylis/angular2-webpack-starter/tree/master\r\n\r\nPlease try to access http://localhost:3000/#/detail and click on the button **\"Show Dialog\"**.\r\n\r\n\r\n\r\n* **What is the expected behavior?**\r\nThe dialog is opened without error\r\n\r\n\r\n* **What is the motivation / use case for changing the behavior?**\r\n\r\n\r\n\r\n* **Please tell us about your environment:**\r\n\r\n- Angular version: 2.4.6\r\n- Browser: [all]\r\n- Webpack 2.3.1\r\n\r\n\r\n\r\n* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)"},"comment":{"url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/comments/302287502","html_url":"https://github.com/shlomiassaf/angular2-modal/issues/331#issuecomment-302287502","issue_url":"https://api.github.com/repos/shlomiassaf/angular2-modal/issues/331","id":302287502,"user":{"login":"pilgylis","id":3971738,"avatar_url":"https://avatars1.githubusercontent.com/u/3971738?v=3","gravatar_id":"","url":"https://api.github.com/users/pilgylis","html_url":"https://github.com/pilgylis","followers_url":"https://api.github.com/users/pilgylis/followers","following_url":"https://api.github.com/users/pilgylis/following{/other_user}","gists_url":"https://api.github.com/users/pilgylis/gists{/gist_id}","starred_url":"https://api.github.com/users/pilgylis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pilgylis/subscriptions","organizations_url":"https://api.github.com/users/pilgylis/orgs","repos_url":"https://api.github.com/users/pilgylis/repos","events_url":"https://api.github.com/users/pilgylis/events{/privacy}","received_events_url":"https://api.github.com/users/pilgylis/received_events","type":"User","site_admin":false},"created_at":"2017-05-18T03:01:37Z","updated_at":"2017-05-18T03:01:37Z","body":"Sorry that my last post did not work.\r\n\r\nI managed to get this to work by override the Overlay service and remove its dependence on defaultViewContainer. I use ApplicationRef to attach the view instead of using defaultViewContainer."}}
{"actor":{"display_login":"pilgylis"}}