fixed issue related to angular routing and socket.io