2018-01-26 16:00:07 +01:00
|
|
|
import { NgModule} from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
import{CommunityRoutingModule} from './community-routing.module';
|
|
|
|
import{CommunityComponent} from './community.component';
|
2018-02-20 12:13:44 +01:00
|
|
|
|
|
|
|
import { CommunityService } from './community.service';
|
2018-02-27 16:03:40 +01:00
|
|
|
import { CommunitiesService } from '../communities/communities.service';
|
2018-02-20 12:13:44 +01:00
|
|
|
|
|
|
|
import {ResultsComponent} from './results/results.component';
|
|
|
|
|
2018-02-15 12:12:55 +01:00
|
|
|
import {PiwikService} from '../openaireLibrary/utils/piwik/piwik.service';
|
|
|
|
import {Meta} from '../openaireLibrary/sharedComponents/metaService';
|
|
|
|
import {ConfigurationService} from '../openaireLibrary/utils/configuration/configuration.service';
|
2018-01-26 16:00:07 +01:00
|
|
|
|
2018-02-15 12:12:55 +01:00
|
|
|
import {FreeGuard} from '../openaireLibrary/login/freeGuard.guard';
|
|
|
|
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
2018-01-26 16:00:07 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
CommonModule, FormsModule, RouterModule,
|
|
|
|
CommunityRoutingModule
|
|
|
|
],
|
|
|
|
declarations: [
|
2018-02-20 12:13:44 +01:00
|
|
|
CommunityComponent, ResultsComponent
|
2018-01-26 16:00:07 +01:00
|
|
|
],
|
|
|
|
providers:[
|
2018-02-27 16:03:40 +01:00
|
|
|
FreeGuard, PreviousRouteRecorder, ConfigurationService, Meta, PiwikService, CommunityService, CommunitiesService
|
2018-01-26 16:00:07 +01:00
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
CommunityComponent
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class CommunityModule { }
|