<p dir="auto">Related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116888714" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/5286" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/5286/hovercard" href="https://github.com/angular/angular/issues/5286">#5286</a></p>
<p dir="auto">When an item is selected using ng-link, it only adds the class 'ng-link-active' if there is no parameter within the ng-link directive.  <code class="notranslate">&lt;a ng-link="['About']"&gt;About&lt;/a&gt;</code></p>
<p dir="auto">The class 'ng-link-active' FAILS to be added for ng-link with a parameter.<br>
<code class="notranslate">&lt;a ng-link="['About', **{id: 5}**]"&gt;About&lt;/a&gt;</code></p>
<p dir="auto">If I navigate to a route without any optional parameters, the router link for that route is displayed as active. If I navigate to that same route with optional route parameters, the router link is no longer marked as active.</p>
<p dir="auto">Example: <a href="http://plnkr.co/edit/LVYtuiQ8O2d52UrrxV2e?p=preview" rel="nofollow">http://plnkr.co/edit/LVYtuiQ8O2d52UrrxV2e?p=preview</a></p>
<p dir="auto">As long as I'm on the <code class="notranslate">Active</code> route, its router link should be marked as active even if there are optional parameters included.</p>