Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
],
imports: [
BrowserModule,
FormsModule,
AppRoutingModule,
HttpClientModule,
L10nTranslationModule.forRoot(
l10nConfig,
{
storage: AppStorage,
translationLoader: HttpTranslationLoader
}
),
L10nIntlModule,
L10nValidationModule.forRoot({ validation: LocaleValidation }),
L10nRoutingModule.forRoot()
],
providers: [
{
provide: APP_INITIALIZER,
useFactory: initL10n,
deps: [L10nLoader],
multi: true
}
],
bootstrap: [AppComponent]
})
export class AppModule { }