angular.js and sails.js simple chat app