title: How to create an image button to enable file download in angular.js?
body: <p>I have an image shown below and I want to make it into a button where you can download files. I have seen examples on how to download such as <a href="https://stackoverflow.com/questions/16670754/angularjs-simple-file-download">Angularjs simple file download</a>
  but this didn't work for me.</p>
  
  <pre><code>&lt;li ng-init="imgsrc_local='../img/local.png'"&gt;&lt;/li&gt;
  </code></pre>