MEAN.JS Chat Application using Socket.IO