Refactoring angular out of index.ejs

The new structure follows the seed app for angular: https://github.com/angular/angular-seed/blob/master/app/js/controllers.js. Hopefully this gives us some best practices to follow:)