A list of Providers. To use the router, you must add this to your application.
Example (live demo)
import {Component} from 'angular2/core';
import {
ROUTER_DIRECTIVES,
ROUTER_PROVIDERS,
RouteConfig
} from 'angular2/router';
@Component({directives: [ROUTER_DIRECTIVES]})
@RouteConfig([
{...},
])
class AppCmp {
// ...
}
bootstrap(AppCmp, [ROUTER_PROVIDERS]);