Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
RouterModule.forRoot(appRoutes, { scrollPositionRestoration: 'enabled' }),
MatButtonModule,
MatCardModule,
MatIconModule,
// ng-config modules
ConfigModule.init(),
StaticConfigLoaderModule.withSettings(appSettings),
// ng-cache modules
CacheModule,
MemoryCacheModule,
// ng-log modules
LogModule.withConfig({
minLevel: environment.production ? 'warn' : 'trace'
}),
ConsoleLoggerModule.withOptions({
enableDebug: !environment.production
}),
],
providers: [
{
provide: APP_BASE_HREF,
useFactory: baseHrefFactory,
deps: [DOCUMENT]
},
LinkService,
UrlHelper,
{
provide: MatIconRegistry,