using angular.js and require.js