PLATFORM_PIPES = const OpaqueToken("Platform Pipes")

A token that can be provided when bootstraping an application to make an array of pipes available in every component of the application.

Example

import 'angular2/core' show PLATFORM_PIPES;
import './myPipe' show OtherPipe;
@Component(
    selector: 'my-component',
    template: '''
    {{123 | other-pipe}}
  ''')
class MyComponent {
  ...
}
 
void main() {
  bootstrap(MyComponent, [
    provide(PLATFORM_PIPES, useValue: [OtherPipe], multi: true)
  ]);
}