2021-01-13 19:23:31 +01:00
|
|
|
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
|
|
|
|
import {RouterModule} from "@angular/router";
|
|
|
|
|
|
|
|
import {OrcidComponent} from './orcid.component';
|
|
|
|
import {OrcidService} from "./orcid.service";
|
|
|
|
import {FreeGuard} from '../login/freeGuard.guard';
|
|
|
|
import {PreviousRouteRecorder} from "../utils/piwik/previousRouteRecorder.guard";
|
|
|
|
import {OrcidWorkComponent} from "./orcid-work.component";
|
|
|
|
import {AlertModalModule} from "../utils/modal/alertModal.module";
|
|
|
|
import {ResultLandingService} from "../landingPages/result/resultLanding.service";
|
|
|
|
import {LoadingModule} from "../utils/loading/loading.module";
|
2021-02-10 10:01:55 +01:00
|
|
|
import {ResultLandingUtilsModule} from "../landingPages/landing-utils/resultLandingUtils.module";
|
2021-01-13 19:23:31 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
2021-02-10 10:01:55 +01:00
|
|
|
CommonModule, RouterModule, AlertModalModule, LoadingModule, ResultLandingUtilsModule
|
2021-01-13 19:23:31 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
OrcidComponent,
|
|
|
|
OrcidWorkComponent
|
|
|
|
],
|
|
|
|
providers:[
|
|
|
|
FreeGuard, PreviousRouteRecorder,
|
|
|
|
OrcidService, ResultLandingService
|
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
OrcidComponent,
|
|
|
|
OrcidWorkComponent
|
|
|
|
]
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
export class OrcidModule{}
|