title: how to get object in an array with index in a controller angular js
body: <p>I need to get object in array for the given index in angular js.</p>
  
  <pre><code>scope.storeList = [{
    'id':101,
    'name':indhu
  },{
    'id':102,
    'name':selvin
  },{
    'id':103,
    'name':indhu1
  }];
  </code></pre>
  
  <p>In this if i give index value, it should give the object.
  I tried this below code but could not get:</p>
  
  <pre><code>var list = scope.storeList[2];
  </code></pre>
  
  <p>Please some one help it.</p>