how-to-test -an-angularjs-application