Change the way Angular controller and factories load the dependencies.
Merge pull request #100 from paulld/load_dependencies

Change the way Angular controller and factories load the dependencies.
Call session.js and password-check.js from the application.js file instead of directly from the views, necessary for Heroku deploy.