I have a store state that I'm getting using an observable and the async pipe. I'm using the as syntax to read the returned object.
This object is complex, and has fields that are referenced by another async observable to display information.
Could I do something like the following?
<div *ngIf="(fileObs$ | async) as files; let fileList= files[user.UserId]">
<div *ngFor="let file of fileList">
...
</div>
<!-- instead of -->
<div *ngFor="let file of files[user.UserId]">
...
</div>