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