@ionic/angular 8.7.17-dev.11768239180.18ee1069 → 8.7.17-dev.11769628168.11eca7cd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2862,9 +2862,10 @@ class ModalController extends OverlayBaseController {
2862
2862
  super(modalController);
2863
2863
  }
2864
2864
  create(opts) {
2865
+ const { injector: customInjector, ...restOpts } = opts;
2865
2866
  return super.create({
2866
- ...opts,
2867
- delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal'),
2867
+ ...restOpts,
2868
+ delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal', customInjector),
2868
2869
  });
2869
2870
  }
2870
2871
  /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ModalController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
@@ -2899,9 +2900,10 @@ class PopoverController extends OverlayBaseController {
2899
2900
  super(popoverController);
2900
2901
  }
2901
2902
  create(opts) {
2903
+ const { injector: customInjector, ...restOpts } = opts;
2902
2904
  return super.create({
2903
- ...opts,
2904
- delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'popover'),
2905
+ ...restOpts,
2906
+ delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'popover', customInjector),
2905
2907
  });
2906
2908
  }
2907
2909
  }