If you’re using bower, try adding the bootstrap dependency to your bower.json file as such:
"dependencies": {
"angular": "~1.3.3",
"bootstrap": "~3.2.0"
},
and add the following to your index.html
file (<link>
in head and <script>
with your other script tags at the bottom):
<link href="https://stackoverflow.com/questions/27298717/bower_components/bootstrap/dist/css/bootstrap.css" rel="stylesheet">
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
Don’t forget to bower install
in your directory!
1
solved why my css is not working with bootstrap ?