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