title: Bootstrap dropdown with Angular 6
body: <p>I'm trying to create a dropdown item in a Bootstrap navbar using Angular 6. My code is working when I test it online : </p>
  
  <pre><code>&lt;nav class="navbar bg-light navbar-light navbar-expand"&gt;
  &lt;ul class="navbar-nav"&gt;
    &lt;li class="nav-item dropdown" &gt;
      &lt;a class="nav-link dropdown-toggle" data-toggle="dropdown"&gt;Page1&lt;/a&gt;
      &lt;div class="dropdown-menu"&gt;
        &lt;a class="dropdown-item" href="#"&gt;Page1.1&lt;/a&gt;
      &lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a class="nav-link" href="#"&gt;Page2&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/nav&gt;
  </code></pre>
  
  <p>But the dropdown does not work with Angular 6. I've used the following method in order to use Bootstrap with Angular :  </p>
  
  <pre><code>ng add @ng-bootstrap/schematics
  </code></pre>
  
  <p>And everything works fine except for that dropdown item !</p>