2019-09-30 14:51:38 +02:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {FormsModule} from '@angular/forms';
|
|
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
import {HttpClientModule} from "@angular/common/http";
|
|
|
|
import {BrowserModule} from '@angular/platform-browser';
|
2020-06-29 15:16:21 +02:00
|
|
|
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
2019-09-30 14:51:38 +02:00
|
|
|
import {AppComponent} from './app.component';
|
|
|
|
import {OpenaireErrorPageComponent} from './error/errorPage.component';
|
|
|
|
|
|
|
|
import {AppRoutingModule} from './app-routing.module';
|
|
|
|
import {SharedModule} from './shared/shared.module';
|
|
|
|
import {CookieLawModule} from './openaireLibrary/sharedComponents/cookie-law/cookie-law.module';
|
|
|
|
import {BottomModule} from './openaireLibrary/sharedComponents/bottom.module';
|
|
|
|
import {ErrorModule} from './openaireLibrary/error/error.module';
|
|
|
|
import {NavigationBarModule} from './openaireLibrary/sharedComponents/navigationBar.module';
|
|
|
|
|
|
|
|
import {EnvironmentSpecificResolver} from './openaireLibrary/utils/properties/environmentSpecificResolver';
|
|
|
|
|
|
|
|
import {CommunitiesService} from './openaireLibrary/connect/communities/communities.service';
|
|
|
|
import {LayoutService} from "./openaireLibrary/services/layout.service";
|
|
|
|
import {SubscribeModule} from './utils/subscribe/subscribe.module';
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
|
|
|
imports: [
|
|
|
|
SharedModule,
|
2020-06-03 23:55:32 +02:00
|
|
|
BrowserAnimationsModule,
|
2019-09-30 14:51:38 +02:00
|
|
|
CommonModule,
|
|
|
|
HttpClientModule,
|
|
|
|
ErrorModule,
|
|
|
|
FormsModule,
|
|
|
|
NavigationBarModule,
|
|
|
|
BottomModule,
|
|
|
|
CookieLawModule,
|
|
|
|
SubscribeModule.forRoot(),
|
|
|
|
BrowserModule.withServerTransition({appId: 'my-app'}),
|
|
|
|
AppRoutingModule
|
|
|
|
],
|
2019-10-09 11:05:56 +02:00
|
|
|
declarations: [ AppComponent, OpenaireErrorPageComponent],
|
2019-09-30 14:51:38 +02:00
|
|
|
exports: [ AppComponent ],
|
|
|
|
providers:[EnvironmentSpecificResolver, CommunitiesService, LayoutService],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
//
|
|
|
|
export class AppModule {}
|