title: Play a binary string with the HTML audio tag
body: <p>I have a server that serves ogg encoded audio to a client that requests it with a http GET. 
  If I inject the GET route into the HTML audio src it receives the audio and plays it:</p>
  
  <pre class="lang-Javascript prettyprint-override"><code>function working(text) {
      var downloadURL = 'http://localhost:8080/nlc/synthesize' +
          '?text=' + encodeURIComponent(text);
  
      audio.pause();
      audio.src = downloadURL;
      audio.play();
  
  };
  </code></pre>
  
  <p>If I use a http GET call (in AngularJS) and try to inject the response into the HTML audio src it won't play it:</p>
  
  <pre class="lang-Javascript prettyprint-override"><code>function not_working(text) {
    $http.get('http://localhost:8080/nlc/synthesize' + '?text=' + encodeURIComponent(text)).then(function(response) {
        console.log(response);
        audio.pause();
        audio.src = encodeURIComponent(response);
        audio.play();
  
  };
  </code></pre>
  
  <p>The log of the response shows a JSON with a binary string at the 'data' key:</p>
  
  <pre><code>Object {data: "OggS�1�/ڂ OpusHead��]OggS…�xs���������������������������������", status: 200, config: Object, statusText: "OK"}
  </code></pre>
  
  <p>Is there a way to decode the http GET response into something I can inject into the audio src?</p>