building up angular application layout: app.js