Test work with angularjs