test for angularjs