Fixing loading order with angular and requirejs

http://stackoverflow.com/questions/19938419/angular-requirejs-loading-in-the-wrong-order/19938989#19938989