update (2.0.0 final)
(somepath/:someparam/someotherpath) you can subscribe to them using _router.queryParams.subscribe(...):
export class HeroComponent implements OnInit { constructor(private _activatedRoute: ActivatedRoute, private _router:Router) { _activatedRoute.queryParams.subscribe( dataparams => console.log('queryParams', data['st']params['st'])); original
If you want queryParams instead of route params (somepath/:someparam/someotherpath) you can subscribe to them using _router.routerState.queryParams.subscribe(...):
export class HeroComponent implements OnInit { constructor(private _activatedRoute: ActivatedRoute, private _router:Router) { _router.routerState.queryParams.subscribe( dataparams => console.log('queryParams', data['st']params['st']));