checking the angular with socket.io