I need to use async pipe without ngFor. I need to check property of object that is async loaded with observable.
This is what i want, but not working:
<ion-item *ngIf="user$.anonymouse | async">
<ion-label>Login</ion-label>
</ion-item>
//EDIT: I getting this error when i use code above
EXCEPTION: Invalid argument 'true' for pipe 'AsyncPipe' in [!user$.anonymouse | async in SettingsPage@27:22]
Is there any way how to solve this?
I know i can subscribe to this observable in Ctrl a store values into normal variable but i dont want to do that, because of perfomance etc.