add test for angularjs