make a file download in angular 2

19,282 views
Skip to first unread message

Alejandro Corredor

unread,
Feb 4, 2016, 11:05:40 AM2/4/16
to AngularJS
Hi everyone,
I'm developing a simple angular 2 app that goes to the backend and serves and excel report to the user. Sadly I cant find any information about how to do this in angular 2, Can you help me ?


Thanks in advance.


Alejandro 



code4fun

unread,
Feb 8, 2016, 3:25:34 AM2/8/16
to AngularJS
Hi I also have the same requirement. Have You found a solution? Or anybody can halp?

Txs Code4fun

Alejandro Corredor

unread,
Feb 8, 2016, 3:58:30 PM2/8/16
to ang...@googlegroups.com
Hi, I already solve the problem. The solution is exposed in this thread http://stackoverflow.com/questions/35138424/how-do-i-download-a-file-with-angular2

Alejandro :)

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/B1LTsAeXuZ0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Robin Kedia

unread,
Aug 15, 2016, 8:39:30 AM8/15/16
to AngularJS
Hi - Any luck? 

Stephen Chang

unread,
Apr 27, 2017, 12:59:57 PM4/27/17
to Angular and AngularJS discussion
Forgot I had to combine the answers from 2 posts for this one 

Stephen Chang

unread,
Apr 27, 2017, 1:00:18 PM4/27/17
to Angular and AngularJS discussion


On Thursday, February 4, 2016 at 11:05:40 AM UTC-5, Alejandro Corredor wrote:
Reply all
Reply to author
Forward
0 new messages