Is there any way I can intercept the call initiated from the a href
tag and read the content from indexed db
and download the file.
Scenario
I Am designing an offline application when users asked to get content for offline. When user clicks the href
tag,
<a href='http://downlod.com/downloaddcoument'>download</a>
it should read the response saved in indexed db and download the file, In service worker the fetch option not able to track this call so am not able to inten
I tried with $http.get
and am getting the response but not able to download the file.
Any link of hint will be a great help, thank you