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.