title: TypeError: Class constructor TranslateHttpLoader cannot be invoked without 'new'
body: <p>I got this error when configure i18n for translation in angular 8. I tried many references still lack to find out the solution on this error</p>
  
  <p>this is my sample code </p>
  
  <pre><code>export function HttpLoaderFactory(http: HttpClient) {
    return new TranslateHttpLoader(http, './assets/i18n/', '.json');
  }
  </code></pre>