Bootstrap Navigation menu in Angular 2
<p>From <a href="http://blog.angular-university.io/angular-2-router-nested-routes-and-nested-auxiliary-routes-build-a-menu-navigation-system/" rel="nofollow noreferrer">Build a Navigation Menu with Bootstrap 4</a>, I have created a top navigation menu:</p>

<pre><code>&lt;nav class="navbar navbar-fixed-top navbar-dark bg-inverse"&gt;
    &lt;div class="container"&gt;
        &lt;a class="navbar-brand"&gt;Angular Router&lt;/a&gt;
        &lt;ul class="nav navbar-nav" routerLinkActive="active"&gt;
            &lt;li class="nav-item"&gt;&lt;a class="nav-link" routerLink="home"&gt;Home&lt;/a&gt;&lt;/li&gt;
            &lt;li class="nav-item"&gt;&lt;a class="nav-link" routerLink="about"&gt;About&lt;/a&gt;&lt;/li&gt;
            &lt;li class="nav-item"&gt;&lt;a class="nav-link" routerLink="courses"&gt;Courses&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/nav&gt;

&lt;router-outlet&gt;&lt;/router-outlet&gt;
</code></pre>

<p>The problem is, when I click on a menu item like <code>home</code>, it is not shown as active. I haven't included <code>bootstrap.js</code>.</p>

<p>Instead of <code>bootstrap.js</code> &amp; <code>jQuery</code>, what is the best way I can make selected menu as active in Angular 2?</p>