Created
October 3, 2019 22:13
-
-
Save AvocadoVenom/4f9385bbc31f3addaa83170079edac87 to your computer and use it in GitHub Desktop.
Overlay Loading Directive > App Module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { NgModule } from '@angular/core'; | |
| import { AppComponent } from './app.component'; | |
| import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | |
| import { OverlayModule } from '@angular/cdk/overlay'; | |
| import { MatCardModule, MatButtonModule, MatProgressBarModule } from '@angular/material'; | |
| import { LoaderComponent } from './loader/loader.component'; | |
| @NgModule({ | |
| declarations: [ | |
| AppComponent, | |
| LoaderComponent | |
| ], | |
| imports: [ | |
| BrowserModule, | |
| BrowserAnimationsModule, | |
| MatCardModule, | |
| MatButtonModule, | |
| MatProgressBarModule, | |
| OverlayModule | |
| ], | |
| providers: [], | |
| bootstrap: [AppComponent], | |
| entryComponents: [LoaderComponent] | |
| }) | |
| export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment