1
|
import { NgModule, ModuleWithProviders } from '@angular/core';
|
2
|
import { CommonModule } from '@angular/common';
|
3
|
|
4
|
import {RouterModule} from "@angular/router";
|
5
|
|
6
|
import {OrcidComponent} from './orcid.component';
|
7
|
import {OrcidService} from "./orcid.service";
|
8
|
import {FreeGuard} from '../login/freeGuard.guard';
|
9
|
import {PreviousRouteRecorder} from "../utils/piwik/previousRouteRecorder.guard";
|
10
|
import {OrcidWorkComponent} from "./orcid-work.component";
|
11
|
import {AlertModalModule} from "../utils/modal/alertModal.module";
|
12
|
import {ResultLandingService} from "../landingPages/result/resultLanding.service";
|
13
|
import {LoadingModule} from "../utils/loading/loading.module";
|
14
|
|
15
|
@NgModule({
|
16
|
imports: [
|
17
|
CommonModule, RouterModule, AlertModalModule, LoadingModule
|
18
|
],
|
19
|
declarations: [
|
20
|
OrcidComponent,
|
21
|
OrcidWorkComponent
|
22
|
],
|
23
|
providers:[
|
24
|
FreeGuard, PreviousRouteRecorder,
|
25
|
OrcidService, ResultLandingService
|
26
|
],
|
27
|
exports: [
|
28
|
OrcidComponent,
|
29
|
OrcidWorkComponent
|
30
|
]
|
31
|
})
|
32
|
|
33
|
|
34
|
export class OrcidModule{}
|