1
|
import {NgModule} from '@angular/core';
|
2
|
import {FormsModule} from '@angular/forms';
|
3
|
import {APP_BASE_HREF, CommonModule} from '@angular/common';
|
4
|
import {HttpModule} from '@angular/http';
|
5
|
import {RouterModule} from '@angular/router';
|
6
|
import {BrowserModule} from '@angular/platform-browser';
|
7
|
import {NoopAnimationsModule} from '@angular/platform-browser/animations';
|
8
|
|
9
|
import {AppComponent} from './app.component';
|
10
|
import {OpenaireErrorPageComponent} from './error/errorPage.component';
|
11
|
|
12
|
import {AppRoutingModule} from './app-routing.module';
|
13
|
import {SharedModule} from './shared/shared.module';
|
14
|
import {CookieLawModule} from './openaireLibrary/sharedComponents/cookie-law/cookie-law.module';
|
15
|
import {BottomModule} from './openaireLibrary/sharedComponents/bottom.module';
|
16
|
import {FeedbackModule} from './openaireLibrary/sharedComponents/feedback/feedback.module';
|
17
|
import {ErrorModule} from './openaireLibrary/error/error.module';
|
18
|
import {NavigationBarModule} from './openaireLibrary/sharedComponents/navigationBar.module';
|
19
|
|
20
|
import {EnvironmentSpecificResolver} from './openaireLibrary/utils/properties/environmentSpecificResolver';
|
21
|
import {HomeComponent} from './home/home.component';
|
22
|
|
23
|
@NgModule({
|
24
|
|
25
|
imports: [
|
26
|
SharedModule,
|
27
|
NoopAnimationsModule,
|
28
|
CommonModule,
|
29
|
HttpModule,
|
30
|
ErrorModule,
|
31
|
NavigationBarModule, FeedbackModule, BottomModule,
|
32
|
CookieLawModule,
|
33
|
BrowserModule.withServerTransition({appId: 'my-app'}),
|
34
|
AppRoutingModule,
|
35
|
],
|
36
|
declarations: [ AppComponent, OpenaireErrorPageComponent, HomeComponent],
|
37
|
exports: [ AppComponent ],
|
38
|
providers:[EnvironmentSpecificResolver ],
|
39
|
bootstrap: [AppComponent]
|
40
|
})
|
41
|
//
|
42
|
export class AppModule {}
|