projects/maplander/components/src/lib/pipes/address/address-format.module.ts
Static forChild |
forChild()
|
Returns :
ModuleWithProviders
|
import {ModuleWithProviders, NgModule} from '@angular/core';
import { CommonModule } from '@angular/common';
import {AddressFormatPipe} from './address-format.pipe';
@NgModule({
imports: [
CommonModule
],
declarations: [
AddressFormatPipe
],
exports: [
AddressFormatPipe
]
})
export class AddressFormatModule {
static forChild(): ModuleWithProviders {
return {
ngModule: AddressFormatModule,
providers: [
AddressFormatPipe
]
};
}
}