implementing socket.io and ngRoute