finally able to hook up server and client using socket io and send messages. still needs a lot of work. I am only able to log in other user's console at this point
moved socket.emit('join') and socket.on('chat message') to run block of app.js.
when i put socket.on('chat message') listener in app.run, it worked except i didn't know how to modify chat.html from there. When I instead put it in the specifc match ctrl, the event fired twice for some reason. So I implemented a super hacky work-around by using .once instead of .on, and calling it recursively in specific match ctrl. Works for now
Merge pull request #18 from paulyi326/master

added a lot of code for messaging functionality