title: Bootstrap dropdown not working in angular 8 project
body: <p>I've installed the following packages:</p>
  
  <pre><code>npm install --save bootstrap@3
  npm install --save popper.js angular-popper
  npm install jquery --save
  </code></pre>
  
  <p>And added the styles and scripts in the angular.json file in this order:</p>
  
  <pre><code>        "styles": [
            "./node_modules/bootstrap/dist/css/bootstrap.min.css",
            "src/styles.css"
          ],
          "scripts": [
            "./node_modules/jquery/dist/jquery.min.js",
            "./node_modules/popper.js/dist/umd/popper.min.js",
            "./node_modules/bootstrap/dist/js/bootstrap.min.js"
          ]
  </code></pre>
  
  <p>Then just followed the official example:</p>
  
  <pre><code>&lt;div class="container headerComponent min-height-header"&gt;
      &lt;div class="btn-group"&gt;
          &lt;button type="button" class="btn btn-danger"&gt;Action&lt;/button&gt;
          &lt;button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"&gt;
            &lt;span class="sr-only"&gt;Toggle Dropdown&lt;/span&gt;
          &lt;/button&gt;
          &lt;div class="dropdown-menu"&gt;
            &lt;a class="dropdown-item" href="#"&gt;Action&lt;/a&gt;
            &lt;a class="dropdown-item" href="#"&gt;Another action&lt;/a&gt;
            &lt;a class="dropdown-item" href="#"&gt;Something else here&lt;/a&gt;
            &lt;div class="dropdown-divider"&gt;&lt;/div&gt;
            &lt;a class="dropdown-item" href="#"&gt;Separated link&lt;/a&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The styles seems to display correctly, but the caret is not showing and nothing happens on click.</p>
  
  <p>No error in browser or developer tool. </p>
  
  <p>I have realized however that in the sources tab of the developer tool, only boostrap.min.css is included through node_modules.</p>
  
  <p>The only solution for me right now is adding the links in the header of index.html like this:</p>
  
  <pre><code>  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"&gt;
    &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"&gt;&lt;/script&gt;
  </code></pre>