Installed Karma for unit testing javascript. Moved the Angualr app code to /public/app to separate the core application code from test scripts etc.