2019-06-13 19:02:34 +00:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
2019-07-13 16:02:18 +00:00
|
|
|
import { LOCALE_ID, NgModule } from '@angular/core';
|
|
|
|
import { registerLocaleData } from '@angular/common';
|
2019-08-20 17:32:17 +00:00
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
2019-07-13 16:02:18 +00:00
|
|
|
import enIN from '@angular/common/locales/en-IN';
|
2019-06-13 19:02:34 +00:00
|
|
|
|
|
|
|
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';
|
2019-07-11 06:47:41 +00:00
|
|
|
import { LogoutComponent } from './auth/logout/logout.component';
|
|
|
|
import { LoginComponent } from './auth/login/login.component';
|
|
|
|
import { HomeComponent } from './home/home.component';
|
2019-07-13 16:02:18 +00:00
|
|
|
import { CoreModule } from './core/core.module';
|
|
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
|
|
import { SharedModule } from './shared/shared.module';
|
2019-08-10 20:07:14 +00:00
|
|
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
2020-09-22 05:23:31 +00:00
|
|
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
2019-08-22 08:45:02 +00:00
|
|
|
import { NavBarComponent } from './nav-bar/nav-bar.component';
|
2019-07-13 16:02:18 +00:00
|
|
|
|
|
|
|
registerLocaleData(enIN);
|
2019-06-13 19:02:34 +00:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
LoginComponent,
|
|
|
|
LogoutComponent,
|
2019-08-22 08:45:02 +00:00
|
|
|
HomeComponent,
|
|
|
|
NavBarComponent
|
2019-06-13 19:02:34 +00:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
AppRoutingModule,
|
|
|
|
BrowserAnimationsModule,
|
2019-08-10 20:07:14 +00:00
|
|
|
FlexLayoutModule,
|
2019-08-19 12:05:57 +00:00
|
|
|
HttpClientModule,
|
2019-06-13 19:02:34 +00:00
|
|
|
MatButtonModule,
|
2019-08-22 08:45:02 +00:00
|
|
|
MatCardModule,
|
2019-06-13 19:02:34 +00:00
|
|
|
MatDialogModule,
|
2019-08-22 08:45:02 +00:00
|
|
|
MatDividerModule,
|
|
|
|
MatFormFieldModule,
|
|
|
|
MatGridListModule,
|
|
|
|
MatIconModule,
|
2019-06-13 19:02:34 +00:00
|
|
|
MatInputModule,
|
2019-08-22 08:45:02 +00:00
|
|
|
MatMenuModule,
|
|
|
|
MatSnackBarModule,
|
|
|
|
MatToolbarModule,
|
2019-06-13 19:02:34 +00:00
|
|
|
LayoutModule,
|
|
|
|
ReactiveFormsModule,
|
|
|
|
CoreModule,
|
2019-06-19 18:47:44 +00:00
|
|
|
SharedModule
|
2019-06-13 19:02:34 +00:00
|
|
|
],
|
2019-07-13 16:02:18 +00:00
|
|
|
providers: [
|
|
|
|
{provide: LOCALE_ID, useValue: 'en-IN'},
|
|
|
|
],
|
2019-06-13 19:02:34 +00:00
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|