This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Description
There aren't any examples of using query string parameters for primary/nested routes. Issue brought up here: angular/angular#6204 (comment)
@Component({...})
@RouteConfig([
{ path: '/', component: HomeComponent, name: 'Home' }
])
class AppComponent {
}
@Component({...})
class HomeComponent {
constructor(params: RouteParams) {
let id = params.get('id'); // id == 12345
}
}
<a [routerLink]="['/Home', {id: 12345}]">Home 12345</a> <!-- will navigate to /?id=12345 -->