Include app.js and maincontroller.js in index.html, page and AngularJs application is ready