Project

General

Profile

1
// import {MaterialModule}             from '@angular/material';
2
import {NgModule}                   from '@angular/core';
3
import {CommonModule}               from '@angular/common';
4
import {FormsModule}                from '@angular/forms';
5
import {RouterModule}               from '@angular/router';
6

    
7
import {SharedModule}               from '../../shared/shared.module';
8

    
9
import {DatasetComponent}           from './dataset.component';
10

    
11
import {CiteThisModule}             from '../landing-utils/citeThis/citeThis.module';
12
// import {DatasetRoutingModule}       from './dataset-routing.module';
13
import {LandingModule}              from '../landing-utils/landing.module';
14
import {ResultLandingModule}        from '../landing-utils/resultLanding.module';
15
import {MetricsModule}              from '../landing-utils/metrics.module';
16
import {AltMetricsModule}           from '../../utils/altmetrics.module';
17
import {ConfigurationServiceModule} from '../../utils/configuration/configurationService.module';
18
import {IFrameModule}               from '../../utils/iframe.module';
19

    
20
import {DatasetService}             from './dataset.service';
21

    
22
import {FreeGuard}                  from'../../login/freeGuard.guard';
23
import {IsRouteEnabled}             from '../../error/isRouteEnabled.guard';
24
import {Schema2jsonldModule} from '../../sharedComponents/schema2jsonld/schema2jsonld.module';
25

    
26

    
27
@NgModule({
28
  imports: [
29
    //MaterialModule.forRoot(),
30
    CommonModule, FormsModule, SharedModule, RouterModule, LandingModule,
31
    CiteThisModule, ResultLandingModule, MetricsModule, IFrameModule,
32
    AltMetricsModule, ConfigurationServiceModule, Schema2jsonldModule
33
  ],
34
  declarations: [
35
    DatasetComponent
36
  ],
37
  providers:[
38
    DatasetService, FreeGuard, IsRouteEnabled
39
  ],
40
  exports: [
41
    DatasetComponent
42
  ]
43
})
44

    
45
export class DatasetModule { }
(4-4/5)