I\'m trying to create a component where you can pass which pipe that should be used for a list inside the component. From what I could find by testing and looking around for
The easiest way to tackle this would be to not use the pipes in the HTML templates, but instead, inject the pipe into a component's constructor (using DI), then apply the transform functionally. This works quite well with an Observable map or similar rxjs streams.