adding test with angularjs