I was trying to update angular-bootstrap, I ran
bower install angular-bootstrap
But other devs at the office said to use:
bower install angular-bootstrap --save
BUT I've also seen:
bower install angular-bootstrap --save-dev
PROBLEM!
Project didn't work, So I tried a git reset --hard to a commit with a working version:
git reset --hard <commit#>
BUT that didn't fix it. In Gitlab, the bower_components directory wasn't saved to the online repo, but the bower.json file was.
So when should we use:
bower install <package>
bower install <package> --save
bower install <package> --save-dev