projects/maplander/components/src/lib/services/currency-converter/currency-converter.module.ts
Static forChild |
forChild()
|
Returns :
ModuleWithProviders
|
import {ModuleWithProviders, NgModule} from '@angular/core';
import { CommonModule } from '@angular/common';
import {CurrencyConverterService} from './currency-converter.service';
@NgModule({
imports: [
CommonModule
]
})
export class CurrencyConverterModule {
static forChild(): ModuleWithProviders {
return {
ngModule: CurrencyConverterModule,
providers: [
CurrencyConverterService
]
};
}
}