Deep Routing In Angular2
I am trying to create routing in angular 2 with below scenario home.component: @RouteConfig([ { path: '/', name: 'Home', component:
Solution 1:
<a [routerLink]="['/Route2', 'Route2Edit', {id: 'someValue'}]"]>Route 2 Edit</a>
<a [routerLink]="['/Route2', 'Route2Details', {id: 'someValue'}]"]>Route 2 Details</a>
Post a Comment for "Deep Routing In Angular2"