Here I have modeling-agency component in this component one button for route on editModelingAgency/{{elememt.userid}} click on that button this link route on specific user and link look like this /base/editModelingAgency/15 but i want to show link like this /base/editModelingAgency and hide parameter with this how it is possible ?
modeling-agency.component.html
<ng-container matColumnDef="action">
<th mat-header-cell *matHeaderCellDef> Action </th>
<td mat-cell *matCellDef="let element">
<button mat-raised-button routerLink="/base/editModelingAgency/{{element.userid}}"></button>
</td>
</ng-container>
app-routing.modulets
const routes: Routes = [
{ path: '', redirectTo: 'login', pathMatch: 'full' },
{ path: 'login', component : LoginFormComponent },
{ path : 'base', component : BaseComponent,canActivate : [AuthguardGuard],canActivateChild : [AuthguardGuard],runGuardsAndResolvers: 'always',
children: [
{ path: '', redirectTo: 'dashboard', pathMatch: 'full' },
{ path: 'dashboard', component : DashboardComponent },
{ path: 'modelingAgency', component : ModelingAgencyComponent },
{ path: 'editModelingAgency/:userid', component : EditModelingAgencyComponent },
]},
{ path: '**', component : PageNotFoundComponent },
];