Fixed a bug where the app.js code was being loaded before bower dependencies, resulting in errors.