Moved routes out into app.js as per recommendation from AngularJS book and added dependency to main.js + script tag to index.html