tests AngularJS