Testing node.js and angular