title: Creating Blob object from raw file downloaded from server with $http.
body: <p>On server there is url with files stored. 
  Url is <strong><a href="http://website.com/abc" rel="nofollow">http://website.com/abc</a></strong>
  I do $http get on this url.</p>
  
  <pre><code>$http.get(url, { responseType: "arraybuffer" });
  </code></pre>
  
  <p>I want to create Blob object from this. I am sure that object is of type png, because it had this extension before upload and it shows properly. </p>
  
  <pre><code>new Blob(result.data, {type: "image/png"});
  </code></pre>
  
  <p>I get message: 
  <em>Failed to construct 'Blob': The 1st argument is neither an array, nor does it have indexed properties.</em></p>
  
  <p>Response from server <a href="http://website.com/abc" rel="nofollow">http://website.com/abc</a> GET in developer console looks like: </p>
  
  <pre><code>ÿØÿàJFIFÿþ;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 60
  ÿÛC
  
  
  
  
  
   ' .)10.)-,3:J&gt;36F7,-@WAFLNRSR2&gt;ZaZP`JQROÿÛC&amp;&amp;O5-5OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOÿÂÒ"ÿÄÿÄÿÚæå2ag\Ý#úDÃª3[Zdfc5±Ô¢¬æ)K&lt;`¤l2¸ÊánYR±aA`Í%RÈfbz!¤tÞÑ-µd7ZªÀ[hz¨f¥&gt;©cAV¬{3á R³F0  W&gt;~c³"ðÈìøÖ²ÇBÙ³±+
  ½ò9tµ°õ
  </code></pre>
  
  <p>I tried to set Blob type to application/octet-stream and also do $http.get without specified responseType. </p>
  
  <p>How can I create a proper Blob file?
  I need Blob File, to create File object which is an entry data to implemented logic to display files in slideshow with modals. I have implemented logic for files of type File, which were created by input forms - implementation was done for a need before uploading to server. Now it turns out that server doesn't return same files to me, but return only urls of files, which created an idea to convert from url to File in order to dont repeat in that logic. </p>