2018-01-26 16:00:07 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { SharedModule } from './shared/shared.module';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
import { APP_BASE_HREF, CommonModule } from '@angular/common';
|
|
|
|
import { HttpModule } from '@angular/http';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
|
2018-02-15 12:12:55 +01:00
|
|
|
|
|
|
|
import {NavigationBarModule} from './openaireLibrary/sharedComponents/navigationBar.module';
|
|
|
|
import { CookieLawModule } from './openaireLibrary/sharedComponents/cookie-law/cookie-law.module';
|
|
|
|
|
|
|
|
import {BottomModule} from './openaireLibrary/sharedComponents/bottom.module';
|
|
|
|
import {FeedbackModule} from './openaireLibrary/sharedComponents/feedback/feedback.module';
|
|
|
|
import { EnvironmentSpecificResolver} from './openaireLibrary/utils/properties/environmentSpecificResolver';
|
|
|
|
|
|
|
|
import { ErrorModule} from './openaireLibrary/error/error.module';
|
2018-01-26 16:00:07 +01:00
|
|
|
|
|
|
|
import { OpenaireErrorPageComponent } from './error/errorPage.component';
|
2018-02-12 12:41:40 +01:00
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
2018-01-26 16:00:07 +01:00
|
|
|
|
2018-01-29 15:31:10 +01:00
|
|
|
import { CommunityService } from './community/community.service';
|
2018-02-27 16:03:40 +01:00
|
|
|
import { CommunitiesService } from './communities/communities.service';
|
2018-01-29 15:31:10 +01:00
|
|
|
|
2018-01-26 16:00:07 +01:00
|
|
|
@NgModule({
|
|
|
|
|
|
|
|
imports: [
|
|
|
|
SharedModule,
|
|
|
|
NoopAnimationsModule,
|
|
|
|
CommonModule,
|
|
|
|
HttpModule,
|
|
|
|
ErrorModule,
|
|
|
|
NavigationBarModule, FeedbackModule, BottomModule,
|
|
|
|
CookieLawModule,
|
|
|
|
BrowserModule.withServerTransition({appId: 'my-app'}),
|
2018-02-12 12:41:40 +01:00
|
|
|
AppRoutingModule
|
|
|
|
|
2018-01-26 16:00:07 +01:00
|
|
|
],
|
|
|
|
declarations: [ AppComponent, OpenaireErrorPageComponent],
|
|
|
|
exports: [ AppComponent ],
|
2018-02-27 16:03:40 +01:00
|
|
|
providers:[EnvironmentSpecificResolver, CommunityService, CommunitiesService ],
|
2018-01-26 16:00:07 +01:00
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
//
|
|
|
|
export class AppModule {}
|