title: How to get the value from array of Objects in Angularjs
body: <p>I need to get the firstname from the array of Objects where my code is like </p>
  
  <pre><code>$scope.value=JSON.stringify(myData);
  </code></pre>
  
  <p>Output for $scope.value is like this,</p>
  
  <pre><code>[{"firstname":"Swag","lastname":"Dear"}]
  </code></pre>
  
  <p>I need to retrieve <code>$scope.value[0].firstname</code> but I am not able to get the record. Please let me know how to get the record.</p>