The changelog at https://github.com/angular/angular/blob/master/CHANGELOG.md mentions:
PLATFORM_PIPES and PLATFORM_DIRECTIVES now are fields on CompilerConfig. Instead of providing a binding to these tokens, provide a binding for CompilerConfig instead.
So far I have these lines in my bootstrap file:
bootstrap(
AppComponent,
[...
provide(PLATFORM_DIRECTIVES, {useValue: ROUTER_DIRECTIVES, multi: true}),
...]);
How should I change the function provide()? Any hint is appreciated.