code: function initChangeDetectorIfExisting(injector, instance, view) {
      if (injector && injector.changeDetectorRef != null) {
          injector.changeDetectorRef._setComponentContext(view, instance);
      }
  }
docs: Sets the context for a ChangeDetectorRef to the given instance.