Converted code to AngularJS
Included bower_components so that gh-pages will work.