added a sample project stolen from https://github.com/krimple/angular-socketio-chat and made some changes