PLATFORM_PIPES: OpaqueToken

export PLATFORM_PIPES : OpaqueToken

exported from angular2/core defined in angular2/src/core/platform_directives_and_pipes.ts (line 53)

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 {PLATFORM_PIPES} from 'angular2/core';
import {OtherPipe} from './myPipe';

@Component({
  selector: 'my-component',
  template: `
    {{123 | other-pipe}}
  `
})
export class MyComponent {
  ...
}

bootstrap(MyComponent, [provide(PLATFORM_PIPES, {useValue: [OtherPipe], multi:true})]);