Incomplete modification of app.js and controllers