Hi Alekhya,

Why are you using Http to download the file? if you don’t need to content, 
just provide a link to it.

<a [src]='propertyFromControllerHoldingLink' target="blank">Download 
{{FileName}}</a>

Should do most of the work for you. If that’s not possible, you can convert 
your file to a dataUri, and then do the above with the resulting uri.

Regards
Sander
​

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to