I have converted Angular 4 to Angular 6 and I have built the project and geting the following error. Any idea how to handle?
Can't bind to 'ngTemplateOutletContext' since it isn't a known property of 'ng-container'.
<ul *ngIf="item.childrens != undefined && item.childrens.length > 0">
<ng-container *ngTemplateOutletContext="recursiveList; context:{ $implicit: item.childrens }"></ng-container>
</ul>
My question is on TemplateOutletContext
, not TemplateOutlet
.