There\'s quite good doc of using *ngIf in Angular: https://angular.io/api/common/NgIf But, is that possible to have *ngIf async variable and multiple checks on that? Something l
Simply do it like this
1">...
For "more complex" scenario do the following
1 && (users$ | async)?.length < 5">...
Edit: Previous wouldn't work since you cannot use *ngFor
and *ngIf
without using ng-template. You would do it like that for instance
1 && (users$ | async)?.length < 5">
{{ user | json }}
Here is a stackblitz.