I have this Routing:
{ path: 'item/:id',
  component: parentComponent,
  children: [
    { path: 'edit', component: childComponent }
  ]
}
To navigate to this Location I use this:
this.router.navigate(['/item/' + item.id + '/edit']);
Now my Question is:
How can now my childComponent know the id? What Code do I need to get the id in the child.component.ts? (parentComponent also Needs to know the id, thats why I dont have the Parameter at the end)
 
    