angularjs/socket.oi messenger with require.js suport