changed angular.js to index.js