1
|
import { NgModule} from '@angular/core';
|
2
|
import { CommonModule } from '@angular/common';
|
3
|
import { FormsModule } from '@angular/forms';
|
4
|
import { RouterModule } from '@angular/router';
|
5
|
|
6
|
// import{CommunityRoutingModule} from './community-routing.module';
|
7
|
import{CommunityComponent} from './community.component';
|
8
|
import {ResultsComponent} from '../searchEntries/results/results.component';
|
9
|
|
10
|
import {PiwikService} from '../openaireLibrary/utils/piwik/piwik.service';
|
11
|
import {ConfigurationService} from '../openaireLibrary/utils/configuration/configuration.service';
|
12
|
import {SearchEntriesService} from '../searchEntries/searchEntries.service';
|
13
|
import {CommunityService} from '../openaireLibrary/connect/community/community.service';
|
14
|
|
15
|
import {FreeGuard} from '../openaireLibrary/login/freeGuard.guard';
|
16
|
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
17
|
import {SubscribeModule} from '../utils/subscribe/subscribe.module';
|
18
|
import {InviteModule} from '../utils/subscribe/invite/invite.module';
|
19
|
import {ManageModule} from '../utils/manage/manage.module';
|
20
|
|
21
|
import {StatisticsModule} from "../statistics/statistics.module";
|
22
|
|
23
|
@NgModule({
|
24
|
imports: [
|
25
|
CommonModule, FormsModule, RouterModule,
|
26
|
// CommunityRoutingModule,
|
27
|
SubscribeModule, StatisticsModule, ManageModule, InviteModule
|
28
|
],
|
29
|
declarations: [
|
30
|
CommunityComponent, ResultsComponent
|
31
|
],
|
32
|
providers:[
|
33
|
FreeGuard, PreviousRouteRecorder, ConfigurationService,
|
34
|
PiwikService, CommunityService, SearchEntriesService
|
35
|
],
|
36
|
exports: [
|
37
|
CommunityComponent
|
38
|
]
|
39
|
})
|
40
|
export class CommunityModule { }
|