title: AngularJS Parsing JSON array
body: <p>I have the 2 following JSON:</p>
  
  <pre><code>[
    "36Yhfdjrnbfkdjres984",
    "53673hifujhdjkhgk77",
    "3456duedhde84473"
  ]
  </code></pre>
  
  <p>and</p>
  
  <pre><code>[
     {"_id":"36Yhfdjrnbfkdjres984"},
     {"_id":"53673hifujhdjkhgk77"},
     {"_id":"3456duedhde84473"}
  ]
  </code></pre>
  
  <p>I need to parse both with 2 differents methods:</p>
  
  <pre><code>$scope.onClickItem = function(tag) {
          $http.get('http://localhost:5000/api1')
               .success(function (response) {
                      console.log("response ", response);
               })
               .error(function (response) {
                       console.log(response);
               });
  };
  </code></pre>
  
  <p>In response, I can see corectly the right JSON I need to get the id for /api1 and /api2</p>