diff options
Diffstat (limited to 'src/app/app.module.ts')
-rw-r--r-- | src/app/app.module.ts | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/src/app/app.module.ts b/src/app/app.module.ts index fcff1d5..372e8bd 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -22,36 +22,39 @@ limitations under the License. ============LICENSE_END============================================ */ -import { BrowserModule } from '@angular/platform-browser'; -import { NgModule } from '@angular/core'; -import { FormsModule } from '@angular/forms'; -import { SimpleNotificationsModule } from 'angular2-notifications'; -import { BootstrapModalModule } from 'ng2-bootstrap-modal'; -import { HomeModule } from './home/home.module'; -import { AppComponent } from './app.component'; -import { AppRoutingModule } from './app.routing'; -import { SharedModule } from './shared/shared.module'; -import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; -import { HashLocationStrategy, LocationStrategy } from '@angular/common'; -import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { RouterModule } from '@angular/router'; -import { TestComponent } from './test/test.component'; -import { AboutUsComponent } from './about-us/aboutus.component'; -import { NgProgressModule } from 'ngx-progressbar'; -import { LoginGuardService } from './vnfs/LoginGuardService/Login-guard-service'; -import { ConfirmComponent } from './shared/confirmModal/confirm.component'; +import {BrowserModule} from '@angular/platform-browser'; +import {NgModule} from '@angular/core'; +import {FormsModule} from '@angular/forms'; +import {SimpleNotificationsModule} from 'angular2-notifications'; +import {HomeModule} from './home/home.module'; +import {AppComponent} from './app.component'; +import {AppRoutingModule} from './app.routing'; +import {SharedModule} from './shared/shared.module'; +import {NgbModule} from '@ng-bootstrap/ng-bootstrap'; +import {HashLocationStrategy, LocationStrategy} from '@angular/common'; +import {NoopAnimationsModule} from '@angular/platform-browser/animations'; +import {RouterModule} from '@angular/router'; +import {TestComponent} from './test/test.component'; +import {AboutUsComponent} from './about-us/aboutus.component'; +import {NgProgressModule} from 'ngx-progressbar'; +import {LoginGuardService} from './vnfs/LoginGuardService/Login-guard-service'; +import {Ng2Bs3ModalModule} from 'ng2-bs3-modal/ng2-bs3-modal'; import { NgxSpinnerModule } from 'ngx-spinner'; +import {AdminComponent} from './admin/admin.component'; +import {AnsibleServerComponent} from './admin/view-edit/ansible-server.component'; + @NgModule({ - declarations: [AppComponent, TestComponent, AboutUsComponent, ConfirmComponent], + declarations: [AppComponent, TestComponent,AnsibleServerComponent, AdminComponent, AboutUsComponent], imports: [BrowserModule, FormsModule, HomeModule, SharedModule.forRoot(), - NgbModule.forRoot(), NoopAnimationsModule, AppRoutingModule, SimpleNotificationsModule, NgProgressModule, BootstrapModalModule, NgxSpinnerModule], + NgbModule.forRoot(), NoopAnimationsModule, AppRoutingModule, SimpleNotificationsModule, NgProgressModule, Ng2Bs3ModalModule, NgxSpinnerModule], exports: [RouterModule], - providers: [{ provide: LocationStrategy, useClass: HashLocationStrategy }, LoginGuardService], - entryComponents: [ConfirmComponent], + providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}, LoginGuardService], + + bootstrap: [AppComponent], + entryComponents: [AnsibleServerComponent] - bootstrap: [AppComponent] }) export class AppModule { -} +}
\ No newline at end of file |