title: Need help to download multiple images in zip file in angularjs
body: <p>I have code that is working according to jszip 2x but now showing error "This method has been removed in JSZip 3.0, please check the upgrade guide.". I have already checked upgraded guide but my code is still not working. I Need help to download multiple images in zip file in angularjs. Thanks in advance.</p>
  
  <pre><code>  var zip = new JSZip();
              var count = 0;
              var zipFilename = "zipFilename.zip";
              var urls = [
                  'http://54.190.15.249/photo/1476967612xyKgSfAlgHEHSt49LfnmvVw3MWTVq4.png',
                  'http://54.190.15.249/photo/1476967612xyKgSfAlgHEHSt49LfnmvVw3MWTVq4.png',
                  'http://54.190.15.249/photo/1476967612xyKgSfAlgHEHSt49LfnmvVw3MWTVq4.png'
              ];
  
              urls.forEach(function(url){
                  var filename = "filename";
                  // loading a file and add it in a zip file
                  JSZipUtils.getBinaryContent(url, function (err, data) {
                      if(err) {
                          throw err; // or handle the error
                      }
                      zip.file(filename, data, {binary:true});
                      count++;
                      if (count == urls.length) {
                          var zipFile = zip.generate({type: "blob"});
                          saveAs(zipFile, zipFilename);
                      }
                  });
              });
  </code></pre>