test for Angular.js