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