()
| 401 | elementRef = inject(ElementRef); |
| 402 | |
| 403 | createComponent() { |
| 404 | const host = document.createElement('div'); |
| 405 | this.outlet.nativeElement.appendChild(host); |
| 406 | |
| 407 | const ref = createComponent(DynamicComponent, { |
| 408 | environmentInjector: this.envInjector, |
| 409 | hostElement: host, |
| 410 | }); |
| 411 | |
| 412 | this.appRef.attachView(ref.hostView); |
| 413 | |
| 414 | return ref; |
| 415 | } |
| 416 | } |
| 417 | |
| 418 | const applicationRef = await bootstrapApplication(App, { |
nothing calls this directly
no test coverage detected