title: Convert ArrayBuffer response to JSON
body: <p>Here I am calling a GetFile , getting response as ArrayBuffer{} object, In network Tab response is {"errors":["photoProof Image is not available in the system"]}, if I do response.errors=undefined.</p>
  
  <pre><code>$scope.getDocuments = function(){
    Myservice.downLoadDocument('photo', $scope.user.mobileNo).
      then(function(response){
       })
  }
  </code></pre>
  
  <p>If I Do this, getting below this value in Network Tab.</p>
  
  <pre><code> response.byteLength = 64
  </code></pre>
  
  <p>how do I convert  this ArrayBuffer  into proper JSON format?</p>