Fixed all issues

Hi Fred,

I had a play with your repository, and managed to get it working. Accept this pull request to see how I did it.

I also changed the way you use bower. Be sure to run `bower install` in the app directory to get all the packages. (I think that is how bower works).

Yours sincerely,

Greg Lockwood

This gets hold of the existing module you created for your application.