import { BrowserModule } from '@angular/platform-browser'; import { LOCALE_ID, NgModule } from '@angular/core'; import { registerLocaleData } from '@angular/common'; import enIN from '@angular/common/locales/en-IN'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { MatButtonModule } from '@angular/material/button'; import { MatCardModule } from '@angular/material/card'; import { MatDialogModule } from '@angular/material/dialog'; import { MatDividerModule } from '@angular/material/divider'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatGridListModule } from '@angular/material/grid-list'; import { MatIconModule } from '@angular/material/icon'; import { MatInputModule } from '@angular/material/input'; import { MatMenuModule } from '@angular/material/menu'; import { MatSnackBarModule } from '@angular/material/snack-bar'; import { LayoutModule } from '@angular/cdk/layout'; import { LogoutComponent } from './auth/logout/logout.component'; import { LoginComponent } from './auth/login/login.component'; import { HomeComponent } from './home/home.component'; import { CoreModule } from './core/core.module'; import { ReactiveFormsModule } from '@angular/forms'; import { SharedModule } from './shared/shared.module'; registerLocaleData(enIN); @NgModule({ declarations: [ AppComponent, LoginComponent, LogoutComponent, HomeComponent ], imports: [ BrowserModule, AppRoutingModule, BrowserAnimationsModule, MatGridListModule, MatCardModule, MatMenuModule, MatIconModule, MatButtonModule, MatFormFieldModule, MatDividerModule, MatDialogModule, MatSnackBarModule, MatInputModule, LayoutModule, ReactiveFormsModule, CoreModule, SharedModule ], providers: [ {provide: LOCALE_ID, useValue: 'en-IN'}, ], bootstrap: [AppComponent] }) export class AppModule { }