Updating app.js for use with static files and Angular.js