barker/bookie/src/app/app.module.ts

61 lines
2.3 KiB
TypeScript
Raw Normal View History

import { LayoutModule } from '@angular/cdk/layout';
2019-07-13 16:02:18 +00:00
import { registerLocaleData } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
2019-07-13 16:02:18 +00:00
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';
2019-07-13 16:02:18 +00:00
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';
2019-07-13 16:02:18 +00:00
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,
2019-07-13 16:02:18 +00:00
],
providers: [{ provide: LOCALE_ID, useValue: 'en-IN' }],
bootstrap: [AppComponent],
})
export class AppModule {}