Passing Multiple route params in Angular2
OK realized a mistake .. it has to be /:id/:id2 Anyway didn’t find this in any tutorial or other StackOverflow question. @RouteConfig([{path: ‘/component/:id/:id2’,name: ‘MyCompB’, component:MyCompB}]) export class MyCompA { onClick(){ this._router.navigate( [‘MyCompB’, {id: “someId”, id2: “another ID”}]); } }