title: Assign dynamic index in array of object in Angularjs
body: <p>If I have array of object in such a way.</p>
  
  <pre><code>data[0].name= 'Prashant Shukla';
  $scope.getColumn[i].Field = 'name';
  </code></pre>
  
  <p>Using above I want to assign <code>Prashant</code> in <code>$scope.getColumn[i].value</code> in dynamic way. I have try like this</p>
  
  <pre><code>$scope.getColumn[i].value = data[0].+$scope.getColumn[i].Field;
  </code></pre>
  
  <p>but this give me <code>Uncaught SyntaxError: Unexpected token +</code></p>
  
  <p>I can get <code>Prashant Shukla</code> by <code>data[0].name</code> but How can I get exactly same by using <code>$scope.getColumn[i].Field</code> in place of <code>name</code> index ?</p>
  
  <p>how can I resolve this error and assign value dynamically?</p>
  
  <p>thanks ahead.</p>