test require.js code style with angular.js