title: ngx-bootstrap dropdown not opening in Angular 5 project
body: <p>I know this question has been asked for many different angular/ngx-bootstrap configurations but as I could not find any helpful answer yet, I decided to open this question.</p>
  
  <p>I am trying to integrate a bootstrap dropdown component using ngx-boostrap:</p>
  
  <p><strong>package.json</strong></p>
  
  <blockquote>
  <pre><code>"ngx-bootstrap": "^2.0.2",
  </code></pre>
  </blockquote>
  
  <p>In the head of my <strong>index.html</strong></p>
  
  <blockquote>
    <p>link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"</p>
  </blockquote>
  
  <p>In my <strong>app.module.ts</strong></p>
  
  <pre><code>import { BsDropdownModule } from 'ngx-bootstrap';
  
  @NgModule({
    declarations: [
      AppComponent
    ],
    imports: [
      ...,
      BsDropdownModule.forRoot()
    ],
    providers: [...],
    bootstrap: [AppComponent]
  })
  </code></pre>
  
  <p>Then I have a submodule where I try to load the dropdown :</p>
  
  <p><strong>submodule.component.html</strong></p>
  
  <pre><code>&lt;div class="btn-group" dropdown&gt;
    &lt;button dropdownToggle type="button" class="btn btn-primary dropdown-toggle"&gt;
      Button dropdown &lt;span class="caret"&gt;&lt;/span&gt;
    &lt;/button&gt;
    &lt;ul *dropdownMenu class="dropdown-menu" role="menu"&gt;
      &lt;li role="menuitem"&gt;&lt;a class="dropdown-item" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
      &lt;li role="menuitem"&gt;&lt;a class="dropdown-item" href="#"&gt;Another action&lt;/a&gt;&lt;/li&gt;
      &lt;li role="menuitem"&gt;&lt;a class="dropdown-item" href="#"&gt;Something else here&lt;/a&gt;&lt;/li&gt;
      &lt;li class="divider dropdown-divider"&gt;&lt;/li&gt;
      &lt;li role="menuitem"&gt;&lt;a class="dropdown-item" href="#"&gt;Separated link&lt;/a&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The dropdown button shows up, but nothing happens when I click it. I checked the DOM using the inspector and the content of the dropdown is still empty.</p>
  
  <p>What can I do to make this dropdown work ?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I have no idea how, but after playing around with the imports it ended up working.</p>
  
  <p>I moved back the import of BsDropdownModule in my submodule (which was not working in the begining) and it worked. I guess I made a silly mistake by the time I opened this question but I can't find what. I leave this open in case it may help someone...</p>