how can i create a component like ng-content angular in angular code example
Example: ng content
<!-- for dynamic content in components -->
<ng-content></ng-content> <!-- in app-component template -->
<app-component>
<!-- insert html here -->
</app-component>