To make a construct usable, in this case a pipe, you need to tell the module it exists. Just like with components, we need to add to the declarations property like so:
@NgModule({
declarations : [ MyPipe ]
})
export ModuleClass {}
To make a construct usable, in this case a pipe, you need to tell the module it exists. Just like with components, we need to add to the declarations property like so:
@NgModule({
declarations : [ MyPipe ]
})
export ModuleClass {}