I\'ve copied and pasted the example code from twitter bootstrap to create a basic modal window in my Rails 3.2 app:
You are supposed to import jquery and bootstrap.min.js.
Add this to angular-cli:
"scripts": ["../node_modules/jquery/dist/jquery.min.js", "../node_modules/bootstrap/dist/js/bootstrap.min.js"]
make sure you have its folders.