<img [src]="url" *ngIf="!isimageloading">
in a form with submit in html
in component
fetchImage(form:NgForm)
{
this.url="http://localhost:3000/getimage/"+this.groupby+"/"+this.aggregate+"("+this.column+")";
this.isimageloading = false;
}
only one module-app module.only 2 http client imports one in httpservice and one in appcomponent.
tried:Interceptor not intercepting http requests (Angular 6) expecting : to intercept request