i using @angular/router": "3.0.0-beta.1
if set
routerconfig = [ { path: 'abc/:rest', component: mycomponent } ] it matches url abc/foo, not abc/foo/bar.
how can match abc/foo/bar , capture rest = 'for/bar'?
plunker: http://plnkr.co/edit/0rks8gnefcip6m7wi9p5?p=preview
hit b trigger cannot match routes.
not tried myself exact use case think want:
routerconfig = [ { path: 'abc/:rest', component: mycomponent, pathmatch: 'prefix' } ]
Comments
Post a Comment