node, socket and angular playing together