mari muthu

mari muthu

  • NA
  • 198
  • 107.5k

AngularJs- Download pdf file using Anchor tag in angularjs

Oct 19 2016 2:32 AM
hi friends, i
 
   i tried for download the pdf file using angularjs but its not working can anyone please tell me and if you know this please modify and reply me guys
 
 
this is my code:
 
 
<div ng-controller="appController" ng-app="app">
<a ng-href="C:\Users\mvijayan\Documents\Visual Studio 2015\Projects\AngularjsTraining\AngularjsTraining\Pdf\ID DocLink Programmer Reference.pdf" download="file.pdf">Hi guys, Please download this pdf file and start Your season</a>
</div>
 
download is working but file inside network Error ha came .please share me friends 

Answers (3)