{"action":"created","issue":{"url":"https://api.github.com/repos/PointInside/ng2-toastr/issues/143","repository_url":"https://api.github.com/repos/PointInside/ng2-toastr","labels_url":"https://api.github.com/repos/PointInside/ng2-toastr/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/PointInside/ng2-toastr/issues/143/comments","events_url":"https://api.github.com/repos/PointInside/ng2-toastr/issues/143/events","html_url":"https://github.com/PointInside/ng2-toastr/issues/143","id":213838926,"number":143,"title":"v1.6.0 error with ViewContainerRef  is back","user":{"login":"ptrckhgr","id":5814588,"avatar_url":"https://avatars0.githubusercontent.com/u/5814588?v=3","gravatar_id":"","url":"https://api.github.com/users/ptrckhgr","html_url":"https://github.com/ptrckhgr","followers_url":"https://api.github.com/users/ptrckhgr/followers","following_url":"https://api.github.com/users/ptrckhgr/following{/other_user}","gists_url":"https://api.github.com/users/ptrckhgr/gists{/gist_id}","starred_url":"https://api.github.com/users/ptrckhgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptrckhgr/subscriptions","organizations_url":"https://api.github.com/users/ptrckhgr/orgs","repos_url":"https://api.github.com/users/ptrckhgr/repos","events_url":"https://api.github.com/users/ptrckhgr/events{/privacy}","received_events_url":"https://api.github.com/users/ptrckhgr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-13T17:23:30Z","updated_at":"2017-03-28T16:02:38Z","closed_at":null,"body":"\"ng2-toastr\": \"^1.6.0\",\r\n\r\n```\r\nEXCEPTION: Uncaught (in promise): Error: Please set root ViewContainerRef using setRootViewContainerRef(vRef: ViewContainerRef) method.\r\nError: Please set root ViewContainerRef using setRootViewContainerRef(vRef: ViewContainerRef) method.\r\n```\r\n\r\nWhats the problem?\r\n\r\nI added in my AppComponent\r\n\r\n```\r\nexport class AppComponent {\r\n\r\n\r\n  constructor(...\r\n              private toastr: ToastsManager,\r\n              private vcr: ViewContainerRef,\r\n) {\r\n\r\n...\r\n    this.toastr.setRootViewContainerRef(vcr);\r\n    this.appRun();\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/PointInside/ng2-toastr/issues/comments/289818741","html_url":"https://github.com/PointInside/ng2-toastr/issues/143#issuecomment-289818741","issue_url":"https://api.github.com/repos/PointInside/ng2-toastr/issues/143","id":289818741,"user":{"login":"jessesanders","id":26382547,"avatar_url":"https://avatars0.githubusercontent.com/u/26382547?v=3","gravatar_id":"","url":"https://api.github.com/users/jessesanders","html_url":"https://github.com/jessesanders","followers_url":"https://api.github.com/users/jessesanders/followers","following_url":"https://api.github.com/users/jessesanders/following{/other_user}","gists_url":"https://api.github.com/users/jessesanders/gists{/gist_id}","starred_url":"https://api.github.com/users/jessesanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessesanders/subscriptions","organizations_url":"https://api.github.com/users/jessesanders/orgs","repos_url":"https://api.github.com/users/jessesanders/repos","events_url":"https://api.github.com/users/jessesanders/events{/privacy}","received_events_url":"https://api.github.com/users/jessesanders/received_events","type":"User","site_admin":false},"created_at":"2017-03-28T16:02:38Z","updated_at":"2017-03-28T16:02:38Z","body":"Any status on this?"}}
{"actor":{"display_login":"jessesanders"}}