Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { AppService } from './services/app.service';
import { MatProgressSpinnerModule } from '@angular/material';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory
}),
SchedulerModule.forRoot({ locale: 'en', headerDateFormat: 'daysRange' }),
MatProgressSpinnerModule
],
providers: [
AppService,
{ provide: LOCALE_ID, useValue: 'en-US' }
],
bootstrap: [AppComponent]
})
export class AppModule { }