title: How can i add the serial number to rows in Angular ui gird
body: <p>I am using this for my angular grid</p>
  
  <p><a href="http://ui-grid.info/" rel="nofollow">http://ui-grid.info/</a></p>
  
  <p>and i want to add serial numbers to all rows.</p>
  
  <p>I tried this</p>
  
  <pre><code>{name: 'ID', field: '', displayName: 'Row Number', cellTemplate: '&lt;div&gt;{{row.rowIndex + 1}}&lt;/div&gt;'},
  </code></pre>
  
  <p>But it keep showing on <code>1</code> in the column. Lool like <code>row.rowIndex</code> is not giving returning anything.</p>
  
  <p>How can i fix that. Thanks</p>