Added socketIO subscriptions to angular controller