Downloading angularjs files
I had to achieve the functionality. Also had to make sure that it works for all the major supported browsers. Here's the solution for the same!!! You can try to "hide" protective params like e.
By knowing this, your solution is pretty easy. No ng-click is needed here. Unfortunately the download attribute is not supported by Safari browser. This doesn't realy matter while the browser is handling the download itself. Depending on the users system OS configuration the file will be downloaded or directly opened in a programm installed on that system. I hope this is what you need. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 6 years, 9 months ago. Active 4 years, 8 months ago. Active Oldest Votes. I found the answer in this link AngularJS: Display blob. Improve this answer. Community Bot 1 1 1 silver badge. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast An oral history of Stack Overflow — told by its founding team.
Millinery on the Stack: Join us for Winter Summer? Bash, ! Here is the screenshot of the same:. Now click it on the "Download" link to download library js file. You can copy this js file angular. After that use this file in your project. AngularJS library is also distributed through CDN network, if you prefer to use the AngularJS then you can include it using following code in your project:.
0コメント