title: How to download the file using angular js
body: <p>I have uploaded a file as an object. My object seems like below,</p>
  
  <pre><code>{
  filename:"angular",
  desc:"opensource",
  myfile{
           name:"Angular-JS-ppt.pptx",
           size:3057359,
           type:"application/vnd.openxmlformats-officedocument.presentationml.presentation"
        }
  }
  </code></pre>
  
  <p>Likewise i have number of objects stored. 
  Now, my query is, how to download the data based on the file clicked, as i have all the details like name,size,type.Any answer or hint,great help. Thanks</p>