Single page application test, angular.js