code: function TmpSocket() {
                  var boundEvents = {};
  
                  this.socket = {connected: false};
  
                  this.on = function (evName, fn) {
                      boundEvents[evName] = fn;
                      return this;
                  };
                  this.become = function (actualSocket) {
                      for (var eventName in boundEvents) {
                          actualSocket.on(eventName, boundEvents[eventName]);
  
                          // boundEvents[eventName] = angular.noop;
                      }
                      return actualSocket;
                  };
              }
docs: TmpSocket
  
  A mock Socket used for binding events before the real thing
  has been instantiated (since we need to use io.connect() to
  instantiate the real thing, which would kick off the connection
  process w/ the server, and we don't necessarily have the valid
  configuration to know WHICH SERVER to talk to yet.)
  
  @api private
  @constructor