I am trying to use [routerLink]
to navigate to an HTML id.
blog.ts:
tabsOverview: any = [
{title: 'How to create project', url: 'create-project', id: 'create-project'},
{title: 'How to invite collaborators', url: 'create-project', id: 'invite-collaborator'},
{title: 'Manage subscription', url: 'create-project', id: 'manage-subscription'}
];
blog.html:
<li *ngFor="let tab of tabsOverview">
<a class="list-group-item border-0" routerLinkActive="active" [routerLink]="[tab.url]">{{tab.title}}</a>
</li>