Created
March 22, 2018 04:23
-
-
Save buildmotion/3ea2173a374ec04fd0db9f77674faf9a to your computer and use it in GitHub Desktop.
This file contains 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 { ModalComponent } from './modal/modal.component'; | |
import { NgbModule, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; | |
import { AboutComponent } from './about/about.component'; | |
import { ModalAboutComponent } from './modal-about/modal-about.component'; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
ModalComponent, | |
AboutComponent, | |
ModalAboutComponent | |
], | |
imports: [ | |
BrowserModule, | |
NgbModule.forRoot() | |
], | |
providers: [ | |
NgbActiveModal | |
], | |
bootstrap: [AppComponent], | |
entryComponents: [ | |
ModalAboutComponent | |
] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment