In the controller, add a function to handle the onLoad event, setting the state to {loading: false}:
loading: boolean = true
onLoad() {
this.loading = false;
}
gif ( , ), loading === true, , img [hidden]="true/false", src, onLoad (load) :
<img *ngIf="loading" src="/assets/loading.gif" alt="loading" />
<img [hidden]="loading" (load)="onLoad()" src="{{ source }}" />
, AngJobs, IMO.
PS: [hidden]="boolean" *ngIf - gotcha, http://angularjs.blogspot.com/2016/04/5-rookie-mistakes-to-avoid-with-angular.html, , , .