title: Formatting JSON for Angular data binding
body: <p>when my ajax call completes an array of  json is returned<a href="https://i.stack.imgur.com/hL5AI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hL5AI.png" alt="enter image description here"></a></p>
  
  <p>for my angular data binding to work perfectly, i need to merge all values in to a single JSON file. I have tried $.extend(), it's giving following output
  <a href="https://i.stack.imgur.com/FdmrB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FdmrB.png" alt="enter image description here"></a></p>
  
  <p>Need a solution for this</p>
  
  <p>for example if my response looks like this:</p>
  
  <pre><code>[0:"{'test':'test'}", 1:"{'test':'test'}", 2:"{'test':'test'}",3: "{'test':'test'}"];
  </code></pre>
  
  <p>the output i need is :</p>
  
  <pre><code>{ test':'test', 'test':'test', 'test':'test', 'test':'test' }
  </code></pre>
  
  <p>Edit:
  The final value will be associated to the ng-model automatically. </p>
  
  <p>desired output example: </p>
  
  <pre><code>{
  "unique_id": 172,
  "portfolio": "DIGITAL",
  "bus_unit": "dummy",
  "project_phase": "",
  "test_phase": "SIT",
  "project": "Google",
  "golivedate": "03/09/2016",
  "performance": "Green",
  "summary": "jgnbfklgnflknflk",
  "last_updated": "",
  "risks_issues": "gfmngfnfglkj",
  "project_start": "03/16/2016",
  "batchLast_run": "",
  "custom_project": "1",
  "test_execution_id": 5456,
  "unique_id": 172,
  "test_execution_id": 5456,
  "pass": 8,
  "fail": 8,
  "blocked": 8,
  "in_progress": 8,
  "no_run": 8,
  "not_available": 0,
  "total": 8  
  }
  </code></pre>