{"action":"created","issue":{"url":"https://api.github.com/repos/ngx-translate/core/issues/770","repository_url":"https://api.github.com/repos/ngx-translate/core","labels_url":"https://api.github.com/repos/ngx-translate/core/issues/770/labels{/name}","comments_url":"https://api.github.com/repos/ngx-translate/core/issues/770/comments","events_url":"https://api.github.com/repos/ngx-translate/core/issues/770/events","html_url":"https://github.com/ngx-translate/core/issues/770","id":287500759,"number":770,"title":"forChild api is broken","user":{"login":"DenisVuyka","id":503991,"avatar_url":"https://avatars3.githubusercontent.com/u/503991?v=4","gravatar_id":"","url":"https://api.github.com/users/DenisVuyka","html_url":"https://github.com/DenisVuyka","followers_url":"https://api.github.com/users/DenisVuyka/followers","following_url":"https://api.github.com/users/DenisVuyka/following{/other_user}","gists_url":"https://api.github.com/users/DenisVuyka/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisVuyka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisVuyka/subscriptions","organizations_url":"https://api.github.com/users/DenisVuyka/orgs","repos_url":"https://api.github.com/users/DenisVuyka/repos","events_url":"https://api.github.com/users/DenisVuyka/events{/privacy}","received_events_url":"https://api.github.com/users/DenisVuyka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-01-10T16:42:08Z","updated_at":"2018-04-11T10:36:48Z","closed_at":"2018-04-11T10:24:12Z","author_association":"NONE","body":"**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] bug report => check the FAQ and search github for a similar issue or PR before submitting\r\n[ ] support request => check the FAQ and search github for a similar issue before submitting\r\n[ ] feature request\r\n```\r\n\r\n**Current behavior**\r\n\r\ncalling `forChild` in the shared module does not work and is causing the following exception at runtime if the shared module contains components that use/inject TranslateService.\r\n\r\nAlso, the TranslateStore is not even exported by the `index.ts`.\r\n\r\n```\r\nNullInjectorError: No provider for TranslateStore!\r\n```\r\n\r\n**Expected/desired behavior**\r\n\r\nIt should be possible to use 'forChild' in the shared library or use TranslateService without crashing.\r\n\r\n**Reproduction of the problem**\r\nIf the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar. You can use this template as a starting point: http://plnkr.co/edit/tpl:01UjWY3TKfP6pgwXKuEa\r\n\r\n\r\n**What is the expected behavior?**\r\n\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\n\r\n\r\n**Please tell us about your environment:**\r\n\r\n* **ngx-translate version:** 8.0.0 and 9.0.2\r\n\r\n* **Angular version:** 5.0.1\r\n \r\n* **Browser:** [**all** | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]\r\n"},"comment":{"url":"https://api.github.com/repos/ngx-translate/core/issues/comments/380406794","html_url":"https://github.com/ngx-translate/core/issues/770#issuecomment-380406794","issue_url":"https://api.github.com/repos/ngx-translate/core/issues/770","id":380406794,"user":{"login":"DenisVuyka","id":503991,"avatar_url":"https://avatars3.githubusercontent.com/u/503991?v=4","gravatar_id":"","url":"https://api.github.com/users/DenisVuyka","html_url":"https://github.com/DenisVuyka","followers_url":"https://api.github.com/users/DenisVuyka/followers","following_url":"https://api.github.com/users/DenisVuyka/following{/other_user}","gists_url":"https://api.github.com/users/DenisVuyka/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisVuyka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisVuyka/subscriptions","organizations_url":"https://api.github.com/users/DenisVuyka/orgs","repos_url":"https://api.github.com/users/DenisVuyka/repos","events_url":"https://api.github.com/users/DenisVuyka/events{/privacy}","received_events_url":"https://api.github.com/users/DenisVuyka/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T10:36:48Z","updated_at":"2018-04-11T10:36:48Z","author_association":"NONE","body":"Would love to see how someone creates a lazy-loading bug reproduction in the plunker."}}
{"actor":{"display_login":"DenisVuyka"}}