Angular JS 2 - Bootstrap navbar dropdown not working
<p>I am using angular 2 (created project using cli) and installed bootstrap.</p>

<p>Then added the bootstrap CSS to angular-cli.json then the styling works but when i have the navbar with dropdown menus its not opening them. I thought is due to missing the <code>bootstrap.js</code> then added that in scripts section of angular-cli.json, it complained about jquery!! then added that.</p>

<p>It started working but i am not sure what I am doing is right.</p>

<p>pasting the angular-cli.json for reference.</p>

<pre><code>"styles": [
    "styles.css",
    "../node_modules/bootstrap/dist/css/bootstrap.css"
  ],
  "scripts": ["./js/jquery.js",     "../node_modules/bootstrap/dist/js/bootstrap.js"],
</code></pre>