p.location-badge. exported from angular2/router defined in angular2/src/router/route_config_impl.js (line 2) :markdown You use the RouteConfig annotation to add routes to a component. Supported keys: - `path` (required) - `component`, `components`, `redirectTo` (requires exactly one of these) - `as` (optional) .l-main-section h2 Members .l-sub-section h3 constructor pre.prettyprint code. constructor(configs:List<Map>) :markdown .l-sub-section h3 configs :markdown