SET ASPNETCORE_ENVIRONMENT=Development
dotnet run
<td>
    <a [routerLink]="['/fetch-data', forecast.dateFormatted]">
        <span class='glyphicon glyphicon-edit'></span>
    </a>
</td>
detail/detail.component.html
<h2>Detalle:</h2>
<p>Date: <strong>{{ dateFormatted }}</strong></p>
detail/detail.component.ts
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Params } from '@angular/router';
@Component({
    selector: 'detail',
    template: require('./detail.component.html')
})
export class DetailComponent implements OnInit {
    public dateFormatted: string;
    constructor(private route: ActivatedRoute) {
        
    }
    public ngOnInit(): void {
        this.route.params.forEach((params: Params) => {
            this.dateFormatted = params['dateFormatted'];
        });
    }
}
declarations
DetailComponent
routes
{ path: 'fetch-data', component: FetchDataComponent, children: [
    {path: ':dateFormatted', component: DetailComponent},
    {path: '', component: null}
    ]},
<router-outlet></router-outlet>
npm i ng2-modal --save
import { ModalModule } from 'ng2-modal'
ModalModule // en la sección imports
<route-modal [cancelUrl]="['../']">
    <modal-header>
        <h2>Detalle</h2>
    </modal-header>
    <modal-content>
        <p>Date: <strong>{{ dateFormatted }}</strong></p>
    </modal-content>
    <modal-footer>
        <button class="btn btn-primary" [routerLink]="['../']">okay!</button>
    </modal-footer>
</route-modal>