Files
Matthieu Riegler 3e0e6ed60f docs: update Dynamic Component loader docs to rely on ngComponentOutlet (#49915)
With #51148, the `ngComponentOutlet` directive now supports inputs.
This allows a less verbose and simpler API to instantiate components dynamicaly.

Fixes #49875

PR Close #49915
2023-09-07 10:03:22 -07:00

6 lines
185 B
TypeScript

// #docregion
import { bootstrapApplication } from '@angular/platform-browser';
import { AdBannerComponent } from './app/ad-banner.component';
bootstrapApplication(AdBannerComponent);