How can I set Bootstrap navbar \"active\" class in Angular 2? I only found Angular 1 way.
When I go to About page, add class=\"active\"
class=\"active\"
In "@angular/router": "^3.3.1", the difference in the previous version is the bracket in the routerLinkActive
[routerLinkActive]="['active']"
In final release, ng2 will complain so just remove the bracket
routerLinkActive="active"