openaire-library/utils/configuration/configurationService.module.ts

26 lines
617 B
TypeScript
Raw Normal View History

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 { ConfigurationService } from './configuration.service';
@NgModule({
imports: [
SharedModule,
CommonModule
],
providers:[ ConfigurationService]
})
export class ConfigurationServiceModule {
static forRoot() {
return {
ngModule: ConfigurationServiceModule,
providers: [ ConfigurationService ]
}
}
}