<ng-template #idRef> any content can be here including logical stuff for rendering </ng-template>
 
<ng-container *ngTemplateOutlet="idRef"></ng-container>
 
<ng-container *ngTemplateOutlet="idRef; context: { $implicit: 'some value' }"></ng-container>

Context can be given to the ngTemplateOutlet which allows you to define the same idea as props that you would find in a jsx type syntax.