i am currently experimenting with angular2 (beta1) and i\'m a bit puzzled about the new router.
Navigating via router.navigate works like a charm, while trying to do
You can try passing the json in the html template on routerLink like this.
@Component({
selector: 'app',
template: `
`
})
class AppComponent {
this.routeData = [ '/MyCmp', {myParam: 'value' } ]
}
If you have array of link you can still try something like this with *ngFor