Angular2 this.route.params.map
问题 Angular2 i am lazy loading module and setting up child routes as following in module.ts const routes: Routes = [ { path: '', component: ProgramsComponent}, { path: 'create/:id', component: CreateProgramComponent} ]; here is link utilizing "create" route <a [routerLink]="['create','123']" class="btn btn-primary">New</a> in the receiver component trying to extract id value as following constructor(private route: ActivatedRoute, private programService:ProgramService) { this.route.params .map