Angular 4 null call when loading image
Try using [attr.src]=(imageLink | image) | async"
instead.
With the attr.<whatever>
syntax, null
s prevent the attribute from being added in the first place.
Example: https://stackblitz.com/edit/angular-gitter-btxhuh?file=app%2Fapp.component.html