Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 1 | /* |
| 2 | ============LICENSE_START========================================== |
| 3 | =================================================================== |
| 4 | Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 5 | |
| 6 | Copyright (C) 2018 IBM Intellectual Property. All rights reserved. |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 7 | =================================================================== |
| 8 | |
| 9 | Unless otherwise specified, all software contained herein is licensed |
| 10 | under the Apache License, Version 2.0 (the License); |
| 11 | you may not use this software except in compliance with the License. |
| 12 | You may obtain a copy of the License at |
| 13 | |
| 14 | http://www.apache.org/licenses/LICENSE-2.0 |
| 15 | |
| 16 | Unless required by applicable law or agreed to in writing, software |
| 17 | distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | See the License for the specific language governing permissions and |
| 20 | limitations under the License. |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 21 | ============LICENSE_END============================================ |
| 22 | */ |
| 23 | |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 24 | import { BrowserModule } from '@angular/platform-browser'; |
| 25 | import { NgModule } from '@angular/core'; |
| 26 | import { FormsModule } from '@angular/forms'; |
| 27 | import { SimpleNotificationsModule } from 'angular2-notifications'; |
| 28 | import { BootstrapModalModule } from 'ng2-bootstrap-modal'; |
| 29 | import { HomeModule } from './home/home.module'; |
| 30 | import { AppComponent } from './app.component'; |
| 31 | import { AppRoutingModule } from './app.routing'; |
| 32 | import { SharedModule } from './shared/shared.module'; |
| 33 | import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; |
| 34 | import { HashLocationStrategy, LocationStrategy } from '@angular/common'; |
| 35 | import { NoopAnimationsModule } from '@angular/platform-browser/animations'; |
| 36 | import { RouterModule } from '@angular/router'; |
| 37 | import { TestComponent } from './test/test.component'; |
| 38 | import { AboutUsComponent } from './about-us/aboutus.component'; |
| 39 | import { NgProgressModule } from 'ngx-progressbar'; |
| 40 | import { LoginGuardService } from './vnfs/LoginGuardService/Login-guard-service'; |
| 41 | import { ConfirmComponent } from './shared/confirmModal/confirm.component'; |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 42 | |
| 43 | @NgModule({ |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 44 | declarations: [AppComponent, TestComponent, AboutUsComponent, ConfirmComponent], |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 45 | imports: [BrowserModule, FormsModule, HomeModule, SharedModule.forRoot(), |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 46 | NgbModule.forRoot(), NoopAnimationsModule, AppRoutingModule, SimpleNotificationsModule, NgProgressModule, BootstrapModalModule], |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 47 | exports: [RouterModule], |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 48 | providers: [{ provide: LocationStrategy, useClass: HashLocationStrategy }, LoginGuardService], |
| 49 | entryComponents: [ConfirmComponent], |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 50 | |
| 51 | bootstrap: [AppComponent] |
| 52 | }) |
| 53 | |
| 54 | export class AppModule { |
Mohamed Asgar Samiulla(ma926a) | d7dffc2 | 2018-04-02 19:00:49 +0530 | [diff] [blame] | 55 | } |