javascript/tdd/angular.js