Updating code, dependencies and fixing things

- Fixed for Bootstrap 3.1 changes
- Fixed for Angular 1.2 changes
- Added CONTRIBUTING.md guidelines
- Updated bower.json