title: AngularJS how return a string instead of Json object
body: <p>I use angularjs to get a string from a web service. This string is actually a base64 pdf file. </p>
  
  <pre><code>public string Get(int id)
  {
      var bytes = File.ReadAllBytes(@"C:\test.pdf");
      var content = Convert.ToBase64String(bytes);
      return content;
  }
  </code></pre>
  
  <p>Angularjs return me a array like this one: </p>
  
  <p>{"0":"\"","1":"J","2":"V","3":"B","4":"E" ...}</p>
  
  <p>But I need a complete string like this : "JVBE..."</p>
  
  <p>I try to find a way to get the complete string instead of array format and I don't find anything.</p>
  
  <p>Do you know how handle this?</p>
  
  <p>Thank you!</p>
  
  <p>Karine</p>