whoa. Massive refactor. Split the test route out into modular controller. Added unit testing with jasmine. Made the new modules initialise in such a way that they can be properly unit tested by jasmine in a (headless) browser.
Merge branch 'master' of https://github.com/jamtrousers/eyeball