I want to show a html element if array is null


#1

I want to show a html element if array is null


#2

<html-element *ngIf="!myArray"></html-element>


#3

this will return true even if array is declared as

a=[];


#4

user *ngIf="!arrayVarialbe.length"