title: Unable to save content more than 8Mb in a CSV file with Angular JS
body: <p>I get a string as response from my backend with more than 8MB of csv content.</p>
  <p>with this code :</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>myService.getCsvExportContent(vm.searchParams).then(function (content) {
          var encodedUri = encodeURI(content);
          var link = document.createElement("a");
          link.setAttribute("href", encodedUri);
          link.setAttribute("download", "MCsExport.csv");
          document.body.appendChild(link);
          link.click();
        });</code></pre>
  </div>
  </div>
  </p>
  <p>When the result is less that 8Mb, it creates the whole file but when it's more than 8Mb, it saves the half of data to the file and I lose data. (I can see the size by debugging in my browser)</p>
  <p>I tried <a href="https://alferov.github.io/angular-file-saver/" rel="nofollow noreferrer">angular-file-saver</a> but I still got errors the injection of the dependency doesn't work for me in AngularJS.</p>
  <p>I tried creating Blob object with the content, same result.</p>
  <p>Please help. Thank you.</p>