AngularJS: test