code: function ServiceFactory(injector) {
      this.cache = {};
      this.injector = injector || {};
  
      // if we are in debug mode, then add the debug handler
      var pattern = this.injector.debugPattern || '*.*.*.*.*';
      var handler = this.injector.debugHandler || debugHandler;
      if (this.injector.debug) {
          eventBus.on(pattern, handler);
      }
  }
docs: Simple function to clear the cache
  @param injector
  @constructor