26 lines
617 B
TypeScript
26 lines
617 B
TypeScript
|
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 ]
|
||
|
}
|
||
|
}
|
||
|
}
|