added angularjs tests