import { NgModule, ModuleWithProviders } from '@angular/core'; import {FreeGuard} from '../openaireLibrary/login/freeGuard.guard'; import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; import {IsRouteEnabled} from '../openaireLibrary/error/isRouteEnabled.guard' import {RouterModule} from '@angular/router'; import {AffiliationsComponent} from './affiliations.component'; import {AffiliationService} from "../openaireLibrary/connect/affiliations/affiliation.service"; import {CommonModule} from "@angular/common"; @NgModule({ imports: [ CommonModule, RouterModule ], declarations: [ AffiliationsComponent ], providers:[FreeGuard,PreviousRouteRecorder, IsRouteEnabled, AffiliationService], exports: [ AffiliationsComponent ] }) export class AffiliationsModule{}