After uploading the image using ng-file-upload to https://angular-file-upload-cors-srv.appspot.com/upload
,I get in response only the image name.
Now, if I want to render the image in html
<img ng-show="createRecipeForm.file.$valid" src="{{response.filename}}" class="img-rounded" height="100">
or
<img ng-show="createRecipeForm.file.$valid" ngf-thumbnail="{{imageArray[$index]}}" class="img-rounded" height="100">
How do I get my image here? I am using this for demo purpose and need to get it from my local computer only for now.
I see can not give path to a drive on computer here for src.
So, how do I render the image in html given that I have the file name.