{"action":"created","issue":{"url":"https://api.github.com/repos/greengerong/rebirth-ng/issues/3","repository_url":"https://api.github.com/repos/greengerong/rebirth-ng","labels_url":"https://api.github.com/repos/greengerong/rebirth-ng/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/greengerong/rebirth-ng/issues/3/comments","events_url":"https://api.github.com/repos/greengerong/rebirth-ng/issues/3/events","html_url":"https://github.com/greengerong/rebirth-ng/issues/3","id":215248801,"number":3,"title":"Error: Should setup ViewContainerRef on modal options or rebirth config service!","user":{"login":"ANGULAR-X","id":12145740,"avatar_url":"https://avatars3.githubusercontent.com/u/12145740?v=3","gravatar_id":"","url":"https://api.github.com/users/ANGULAR-X","html_url":"https://github.com/ANGULAR-X","followers_url":"https://api.github.com/users/ANGULAR-X/followers","following_url":"https://api.github.com/users/ANGULAR-X/following{/other_user}","gists_url":"https://api.github.com/users/ANGULAR-X/gists{/gist_id}","starred_url":"https://api.github.com/users/ANGULAR-X/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ANGULAR-X/subscriptions","organizations_url":"https://api.github.com/users/ANGULAR-X/orgs","repos_url":"https://api.github.com/users/ANGULAR-X/repos","events_url":"https://api.github.com/users/ANGULAR-X/events{/privacy}","received_events_url":"https://api.github.com/users/ANGULAR-X/received_events","type":"User","site_admin":false},"labels":[{"id":520200166,"url":"https://api.github.com/repos/greengerong/rebirth-ng/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-19T08:12:10Z","updated_at":"2017-03-29T11:04:38Z","closed_at":null,"body":"按照demo例子使用Dialog出现报错：\r\n\r\n` import {DialogService} from \"ng2-rebirth-ui\";`\r\n \r\n```\r\nconfirm() {\r\n    this.dialogService.confirm({\r\n      title: '删除',\r\n      content: 'This is <strong>rebirth alert</strong> content.',\r\n      yes: '确定',\r\n      no: '取消',\r\n      html: true\r\n    });\r\n  }\r\n```\r\n\r\nError: Should setup ViewContainerRef on modal options or rebirth config service!"},"comment":{"url":"https://api.github.com/repos/greengerong/rebirth-ng/issues/comments/290057049","html_url":"https://github.com/greengerong/rebirth-ng/issues/3#issuecomment-290057049","issue_url":"https://api.github.com/repos/greengerong/rebirth-ng/issues/3","id":290057049,"user":{"login":"ANGULAR-X","id":12145740,"avatar_url":"https://avatars3.githubusercontent.com/u/12145740?v=3","gravatar_id":"","url":"https://api.github.com/users/ANGULAR-X","html_url":"https://github.com/ANGULAR-X","followers_url":"https://api.github.com/users/ANGULAR-X/followers","following_url":"https://api.github.com/users/ANGULAR-X/following{/other_user}","gists_url":"https://api.github.com/users/ANGULAR-X/gists{/gist_id}","starred_url":"https://api.github.com/users/ANGULAR-X/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ANGULAR-X/subscriptions","organizations_url":"https://api.github.com/users/ANGULAR-X/orgs","repos_url":"https://api.github.com/users/ANGULAR-X/repos","events_url":"https://api.github.com/users/ANGULAR-X/events{/privacy}","received_events_url":"https://api.github.com/users/ANGULAR-X/received_events","type":"User","site_admin":false},"created_at":"2017-03-29T11:04:38Z","updated_at":"2017-03-29T11:04:38Z","body":"@greengerong 如果把demo放在根组件app.component里面测试是可以的。如果将demo放在懒加载的RebirthModule注册的组件里面，则还是会同样的错误。\r\n\r\n```\r\n  {\r\n    path:'rebirth',\r\n    loadChildren:'./pages/rebirthui/rebirth.module#RebirthModule'\r\n  },\r\n```"}}
{"actor":{"display_login":"ANGULAR-X"}}