In my Angular 2 application, I have a list of users: Users: any, which contain properties: name, work, age ... etc., the problem is that in order to get a profile image I need to get the image identifier from of the Users object, then use the getImage web service (ImageId), so I have this in my html
<div *ngfor="let user of users"> <img [src]="getImage(user.profileImageId)"/>
In this case, I canβt get the profile picture, I think html is loading before the data? any help?
source share