So I can't seem to find a way to use Socket.io and MEAN together. I can get it running in the latest version without errors with:
var server = app.listen(config.port, config.hostname);
io = io.listen(server);
But io, socket, doesn't have scope anywhere inside of Angular. I'm kind of new to all of this, so this might be a massive oversight on my part, but any insight to how I can overcome this would be appreciated.