fixed closure, added controller, and beer object in app.js. Added reference to controller in index.html