I have a button that should take the user to the previews page.
I'm at #/country/2
- 2 being an idx
When I click the button below it sends me to: #/country/2/brands
, when it should be #/brands
<a [routerLink]="['brands']"><input value="sub" type="submit"></a>
I have imported router
and ActivatedRoute
. I have more routes working but not this one. Any suggestion will be welcomed.