Updated angular.js mock