socket.io angular delete code example
Example: "socket.removeListener"
// This remove listener of specific socket (user)
socket.removeAllListeners("news");
// This remove listener of specific socket (user)
socket.removeAllListeners("news");