title: Download multiple files using pdfMake
body: <p>Excuse me, I am using pdfMake plugin in my angular.
  <a href="https://github.com/bpampuch/pdfmake" rel="nofollow noreferrer">https://github.com/bpampuch/pdfmake</a>
    I would like to download multiple files (different docs definition). I have an array of Docs. when I loop the array and call the function download, the number of files i get depends on the length of array which is right, but the Docs are all the same (the last doc of array is the content of every file).</p>
  
  <p>However, in that array when i log in console, the docs are different. Any solutions for this issue.
  I do need your help. Every answer would be appreciated.</p>