Real-time chat based on Node.js with Sails.js and AngularJS