Does ng-template have any events when it is visible or active in the scope or is it possible to execute any method in such way to call it from the container?
<ng-template (active/vissible)="callMethod()"> ... </ng-template>
(Or)
<ng-container *ngTemplateOutlet="mytemplate" ></ng-container>