import { LayoutModule } from '@angular/cdk/layout'; import { registerLocaleData } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; import enIN from '@angular/common/locales/en-IN'; import { LOCALE_ID, NgModule } from '@angular/core'; import { FlexLayoutModule } from '@angular/flex-layout'; import { ReactiveFormsModule } from '@angular/forms'; 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 { MatToolbarModule } from '@angular/material/toolbar'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { LoginComponent } from './auth/login/login.component'; import { LogoutComponent } from './auth/logout/logout.component'; import { CoreModule } from './core/core.module'; import { HomeComponent } from './home/home.component'; import { NavBarComponent } from './nav-bar/nav-bar.component'; import { SharedModule } from './shared/shared.module'; registerLocaleData(enIN); @NgModule({ declarations: [AppComponent, LoginComponent, LogoutComponent, HomeComponent, NavBarComponent], imports: [ BrowserModule, AppRoutingModule, BrowserAnimationsModule, FlexLayoutModule, HttpClientModule, MatButtonModule, MatCardModule, MatDialogModule, MatDividerModule, MatFormFieldModule, MatGridListModule, MatIconModule, MatInputModule, MatMenuModule, MatSnackBarModule, MatToolbarModule, LayoutModule, ReactiveFormsModule, CoreModule, SharedModule, ], providers: [{ provide: LOCALE_ID, useValue: 'en-IN' }], bootstrap: [AppComponent], }) export class AppModule {}