Project

General

Profile

1
import {NgModule} from '@angular/core';
2
import {CommonModule} from '@angular/common';
3

    
4
import {FreeGuard} from '../openaireLibrary/login/freeGuard.guard';
5
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
6

    
7
import {PiwikService} from '../openaireLibrary/utils/piwik/piwik.service';
8
import {TopicComponent} from "./topic.component";
9
import {TopicRoutingModule} from "./topic-routing.module";
10
import {ModalModule} from "../openaireLibrary/utils/modal/modal.module";
11
import {RouterModule} from "@angular/router";
12
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
13
import {IndicatorsComponent} from "./indicators.component";
14
import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module";
15

    
16
@NgModule({
17
  imports: [
18
    CommonModule, TopicRoutingModule, ModalModule, RouterModule, FormsModule, AlertModalModule, ReactiveFormsModule
19
  ],
20
  declarations: [
21
    TopicComponent, IndicatorsComponent
22
  ],
23
  providers: [
24
    FreeGuard, PreviousRouteRecorder,
25
    PiwikService
26
  ],
27
  exports: [
28
    TopicComponent
29
  ]
30
})
31
export class TopicModule {
32
}
(6-6/6)