Live chat system with angular.js and firebase