1.Print :
where divname is same as id what we set in html and PrintDiv is function name
<button ng-click="printDiv('divname ')">Print your ticket</button>OutPut:2.Download:<a href="{{pdfURL}}" target="_self" download="test.pdf">Download File</a>where pdfURL is the file path and test.pdf is the file nameDownload is the html5 attribute which is used to download file directly with out opening in browser
Date Picker in angular js
No comments:
Post a Comment