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 {CKEditorModule} from 'ng2-ckeditor';
|
10
|
|
11
|
import {AppComponent} from './app.component';
|
12
|
import {OpenaireErrorPageComponent} from './error/errorPage.component';
|
13
|
|
14
|
import {AppRoutingModule} from './app-routing.module';
|
15
|
import {SharedModule} from './shared/shared.module';
|
16
|
import {CookieLawModule} from './openaireLibrary/sharedComponents/cookie-law/cookie-law.module';
|
17
|
import {BottomModule} from './openaireLibrary/sharedComponents/bottom.module';
|
18
|
import {FeedbackModule} from './openaireLibrary/sharedComponents/feedback/feedback.module';
|
19
|
import {ErrorModule} from './openaireLibrary/error/error.module';
|
20
|
import {NavigationBarModule} from './openaireLibrary/sharedComponents/navigationBar.module';
|
21
|
|
22
|
import {EnvironmentSpecificResolver} from './openaireLibrary/utils/properties/environmentSpecificResolver';
|
23
|
|
24
|
// import {CommunityService} from './openaireLibrary/connect/community/community.service';
|
25
|
import {CommunitiesService} from './openaireLibrary/connect/communities/communities.service';
|
26
|
//import { LibSearchProjectsModule } from './searchPages/simple/searchProjects.module';
|
27
|
|
28
|
@NgModule({
|
29
|
|
30
|
imports: [
|
31
|
SharedModule,
|
32
|
NoopAnimationsModule,
|
33
|
CommonModule,
|
34
|
HttpModule,
|
35
|
ErrorModule,
|
36
|
CKEditorModule,
|
37
|
FormsModule,
|
38
|
NavigationBarModule, FeedbackModule, BottomModule,
|
39
|
CookieLawModule,
|
40
|
BrowserModule.withServerTransition({appId: 'my-app'}),
|
41
|
AppRoutingModule,//,LibSearchProjectsModule
|
42
|
],
|
43
|
declarations: [ AppComponent, OpenaireErrorPageComponent],
|
44
|
exports: [ AppComponent ],
|
45
|
providers:[EnvironmentSpecificResolver, CommunitiesService ],
|
46
|
bootstrap: [AppComponent]
|
47
|
})
|
48
|
//
|
49
|
export class AppModule {}
|