Recently I read this useful article about Angular 2 Router and looked at the demo. Everything seemed to be perfect. But when I tried to determine the active route based on
Adding the following property to your home anchor worked for me. [routerLinkActiveOptions]="{ exact: true }"
[routerLinkActiveOptions]="{ exact: true }"
find out more https://github.com/angular/angular/issues/8397#issuecomment-237314970