A token that can be provided when bootstraping an application to make an array of directives available in every component of the application.
Example
import 'package:angular2/core.dart' show PLATFORM_DIRECTIVES;
import './myDirectives' show OtherDirective;
@Component(
selector: 'my-component',
template: '''
<!-- can use other directive even though the component does not list it
in `directives` -->
<other-directive></other-directive>
''')
class MyComponent {
...
}
void main() {
bootstrap(MyComponent, [
provide(PLATFORM_DIRECTIVES, useValue: [OtherDirective], multi: true)
]);
}