title: Angularjs 'FileConstructor is not a constructor'
body: <blockquote>
    <p>Issue: Error: FileConstructor is not a constructor (evaluating 'new
    File([blob], "filename.png")')</p>
  </blockquote>
  
  <p>I saw this question <a href="https://stackoverflow.com/questions/33821631/alternative-for-file-constructor-for-safari">Alternative for File() constructor for safari</a> but there weren't any alternatives worth looking at.</p>
  
  <p>Is there anyway to work around this using Ionic Framework on IOS?</p>
  
  <p><strong>Javascript</strong> </p>
  
  <p>a = Base64 image.</p>
  
  <pre><code> var blob = new Blob([a], {type: 'image/png'});
  
          console.log(blob);
          $scope.Issue14 = blob;
  
         var nfile = new File([blob], "filename.png");
  
          console.log(nfile);
          $scope.Issue15 = nfile;
  
         var _file = nfile;
  
          console.log(_file);
          $scope.Issue16 =  _file;
  
          $scope.Images.push({"img": _file});  
  </code></pre>