An example of how to best use AngularJS and RequireJS together