Frontend AngularJS RequireJS Boilerplate code