title: Download a file from aws s3 bucker in angular js
body: <p>I am using <code>angularjs</code> . I want to implement a download functionality.</p>
  
  <pre><code>&lt;button class="btn btn-labeled  btn-info" title="download"&gt;
          &lt;a href="link of the s3" download="downloaded"&gt;Download&lt;/a&gt;
  &lt;/button&gt;
  </code></pre>
  
  <p>So, I have a controller and the service as well, But I am totally confused between this things. What is the way to download a file from s3 on a button click ? DO I need to call a rest service for that ? </p>