@skyux/core 6.11.2 → 6.12.0

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.
@@ -1173,9 +1173,13 @@ class SkyDynamicComponentService {
1173
1173
  options = options || {
1174
1174
  location: SkyDynamicComponentLocation.BodyBottom,
1175
1175
  };
1176
+ const injector = Injector.create({
1177
+ providers: options.providers || [],
1178
+ parent: this.injector,
1179
+ });
1176
1180
  const componentRef = this.componentFactoryResolver
1177
1181
  .resolveComponentFactory(componentType)
1178
- .create(this.injector);
1182
+ .create(injector);
1179
1183
  this.applicationRef.attachView(componentRef.hostView);
1180
1184
  const el = this.getRootNode(componentRef);
1181
1185
  const bodyEl = this.windowRef.nativeWindow.document.body;