Testing angular.js