routerlink to li element code example
Example: routerLinkActive in dropdown main text
<ul class="nav nav-tabs">
<li class="pull-right" [routerLinkActive]="['active']">
<a class="dropdown-toggle" data-toggle="dropdown"> More <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a [routerLink]="['/profile/link1']">Link 1</a></li>
<li><a [routerLink]="['/profile/link2']">Link 2</a></li>
</ul>
</li>
<li class="pull-right" [routerLinkActive]="['active']"><a [routerLink]="['/profile/feature1']">Feature1</a></li>
<li class="pull-right" [routerLinkActive]="['active']"><a [routerLink]="['/profile/feature2']">Feature2</a></li>
</ul>