With the new Angular router, you can add a [routerLinkActive]="['your-class-name']" attribute to all your links: <a [routerLink]="['/home']" ...
確定! 回上一頁