Skip to content

Provide an easy way to configure new pipes #2901

@vsavkin

Description

@vsavkin

Currently pipes are global and are not easily configurable. We need to make them scoped to a component and provide a way to easily configure them.

Proposal:

@Component({
  viewInjector: [
         bind(Pipes).toFactory(Pipes.append({
                async: [newAsyncPipe]
         })
  ]
})

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions