Hi I want some conditional implementation of ng-content e.g.
<div> <ng-content select="[card-icon]"></ng-content> </div> <div #body> <div *ngIf="description.children.length;else newDiv"> <ng-content select="[card-body]"></ng-content> </div> <div #newDiv> <ng-content select="[card-body]"></ng-content> </div> </div> <div style="align-self: end;" #description [ngClass]="{'hide':!(description.children.length)}"> <ng-content select="[card-description]" ></ng-content> </div> but nothing is projected in the #newDiv. TIA.