Angular 2 access parent routeparams from child component : <p>I've got this (main parent) component -</p>

<pre><code>@RouteConfig([
    { path: '/', name: 'ProjectList', component: ProjectListComponent, useAsDefault: true },
    { path: '/new', name: 'ProjectNew', component: ProjectFormComponent },
    { path: '/:id', name: 'ProjectDetail', component: ProjectDetailComponent },
    { path: '/:id/issues/...', name: 'Issue', component: IssueMountComponent },
])
class ProjectMountComponent {
}
</code></pre>

<p>And then I've got the second mount component (child of main parent, parent of the next component)</p>

<pre><code>@Component({
        template: `
        &lt;div&gt;&lt;router-outlet&gt;&lt;/router-outlet&gt;&lt;/div&gt;
    `,
        directives: [RouterLink, RouterOutlet]
})
@RouteConfig([
        { path: "/", name: "IssueList", component: IssueListComponent, useAsDefault: true },
])
class IssueMountComponent {
    constructor(private _routeParams: RouteParams) {
    }
}
</code></pre>

<p>Here I can access the routeParams (:id) without any problem. Now, here's the component where I need the value of <code>:id</code> from the uri. </p>

<pre><code>@Component({
        template: `
        &lt;h3&gt;Issue List&lt;/h3&gt;
        &lt;ul&gt;
            &lt;issue-component *ngFor="#issue of issues" [issue]="issue"&gt;&lt;/issue-component&gt;
        &lt;/ul&gt;
    `,
        directives: [IssueComponent],
        providers: [IssueService]
})
class IssueListComponent implements OnInit {
        issues: Issue[];
        constructor(private _issueService: IssueService,
                                private _routeParams: RouteParams) {}

        getIssues() {
            let id = this._routeParams.get('id');
            console.log(this._routeParams);
            this._issueService.getIssues(id).then(issues =&gt; this.issues = issues);
        }

        ngOnInit() {
            this.getIssues();
        }
}
</code></pre>

<p>In this component, I cannot access the value of the <code>:id</code> route parameter. It's always null. What am I doing wrong?</p>

<p>Here's the component hierarchy -</p>

<p><strong>ProjectMountComponent -> IssueMountComponent -> IssueListComponent</strong></p>
