title: Angularjs : how to use key of object to retrieve value of another json object
body: <p>i have an array of json objects </p>
  
  <pre><code>$scope.arrary = [{"a":"value"},{"b":"value2"},{"c":"value3"}];
  
  $scope.secondObje = {"a":"this is updated value","b":"this is new value"}
  </code></pre>
  
  <p>i can iterate through 'array' using</p>
  
  <pre><code>&lt;div ng-repeat="(key,value) in array"&gt;
  </code></pre>
  
  <p>now how can i access value of second object using key</p>
  
  <p>I want something like <code>{{secondObje.key}}</code>, how can i do this in angular.</p>
  
  <p>so that i get <code>"this is updated value"</code> and <code>"this is new value"</code> printed.</p>
  
  <p>Please help me.</p>