-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.ts
35 lines (31 loc) · 1.34 KB
/
main.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import './polyfills';
import {HttpClientModule} from '@angular/common/http';
import {NgModule} from '@angular/core';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {MatNativeDateModule} from '@angular/material/core';
import {BrowserModule} from '@angular/platform-browser';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {DemoMaterialModule} from './material-module';
import {SnackbarLoadingComponent,LoadingSnackBar} from './app/snackbar-loading-component';
import {SnackbarLoadingService} from './app/snackbar-loading.service';
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
HttpClientModule,
DemoMaterialModule,
MatNativeDateModule,
ReactiveFormsModule,
],
entryComponents: [SnackbarLoadingComponent,LoadingSnackBar],
declarations: [SnackbarLoadingComponent,LoadingSnackBar],
bootstrap: [SnackbarLoadingComponent],
providers: [SnackbarLoadingService]
})
export class AppModule {}
platformBrowserDynamic().bootstrapModule(AppModule);
/** Copyright 2019 Google Inc. All Rights Reserved.
Use of this source code is governed by an MIT-style license that
can be found in the LICENSE file at http://angular.io/license */