I have a problem with angular router.
Currently I'm in my router /HOME and I'd like to route from a button from there to /HOME#id=123456
How can I do that? I'm trying something like:
<a class="app-card bg-petrol"[routerLink]="['/HOME']" [queryParams]="{'id':'123456'}">
But nothing happen - even nothing in the console.
edit: added routes file
app.routes.ts
{
path: Routes.HOME,
loadChildren: () => import('../routes/home/home.module').then(m => m.HomeModule),
data: { hideNavSearch: true },
},