Angular send ng-template to component
//your component
<div *ngTemplateOutlet="template"></div>
@Input() template :TemplateRef<any>;
//your module
<ng-template #loading>
<div>Loading...2</div>
</ng-template>
<my comp>...[template]="loading">