openaire-library/landingPages/dataset/dataset.module.ts

43 lines
1.6 KiB
TypeScript

//import {MaterialModule} from '@angular/material';
import { NgModule} from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { SharedModule } from '../../shared/shared.module';
import { RouterModule } from '@angular/router';
import { DatasetService} from './dataset.service';
import { DatasetComponent } from './dataset.component';
// import { DatasetRoutingModule } from './dataset-routing.module';
import {MetricsModule} from '../landing-utils/metrics.module';
import {IFrameModule} from '../../utils/iframe.module';
import {AltMetricsModule} from '../../utils/altmetrics.module';
import {CiteThisModule} from '../landing-utils/citeThis/citeThis.module';
import { ResultLandingModule } from '../landing-utils/resultLanding.module';
import { LandingModule } from '../landing-utils/landing.module';
import {FreeGuard} from'../../login/freeGuard.guard';
import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
import {MetaModule} from '../../sharedComponents/metaService.module';
import { ConfigurationServiceModule } from '../../utils/configuration/configurationService.module';
@NgModule({
imports: [
//MaterialModule.forRoot(),
CommonModule, FormsModule,SharedModule, RouterModule, LandingModule, CiteThisModule,
ResultLandingModule, MetricsModule, IFrameModule, AltMetricsModule,
MetaModule, ConfigurationServiceModule
],
declarations: [
DatasetComponent
],
providers:[
DatasetService, FreeGuard, IsRouteEnabled
],
exports: [
DatasetComponent
]
})
export class DatasetModule { }