Is there a way to access #interface, which is declared inside ng-template element?
I must put the <interface-settings inside <ng-template.
Because I would need to use the *ngTemplateOutlet.
As I could not find a solution for this, I have to add another <interface-settings #interface and not declare it inside ng-template.
would appreciate if you know other workaround. Thanks
// parent.html
<button type="button" (click)="interface.apply()"></button>
<ng-template>
<interface-settings #interface></interface-settings>
<ng-template>
//child.ts (interface-settings.ts)
apply() {
console.log("apply");
}