title: Not able to translate the text in components which are there in Feature modules
body: <p>I have a component in Shared module where texts  has to be localized using NGX-TRANSLATE. But I think component in shared module is not getting the JSON file which was loaded in  app.module.ts and I am getting the following error.
  "Cannot read property 'Desc' of undefined". 
  Also I noticed that the translate pipe and the TranslateService is working in shared.component.ts. Let me know if I am missing some dependencies.</p>
  
  <p><a href="https://stackblitz.com/edit/angular-lmawme" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-lmawme</a></p>
  
  <pre><code>app.module.ts
  
  export function createTranslateLoader(http: HttpClient) {
    return new TranslateHttpLoader(http, './assets/i18n/', '.json');
  }
  
  app.component.ts
  
    constructor(private translate: TranslateService){
      translate.addLangs(['en','fr']);
      translate.setDefaultLang('fr');
      translate.use('fr');
      console.log(translate.getLangs());
    } 
  
  shared.component.ts(template)
  &lt;div&gt;Shared Component :  {{Shared.Desc|translate}}&lt;/div&gt;
  </code></pre>