docs: function _wrapper(originalObject, wrappedObject, provide, injects, isTransientScope) {
      // TODO(@davequick): discuss with @halfspiral whether isTransientScope might just
      // better be an array of Annotations
      wrappedObject.$provide = originalObject.$provide;
      wrappedObject.$inject = originalObject.$inject;
      wrappedObject.$transientScope = originalObject.$transientScope;
  
      resolveProvide(wrappedObject, provide);
      resolveInjects(wrappedObject, injects);
      resolveTransientScope(wrappedObject, isTransientScope);
  
      return wrappedObject;
    }