title: How to filter array inside ag-grid for a column definition
body: <p>I am changing my grid from dataTable to <a href="http://ag-grid.com/" rel="nofollow">ag-grid</a>. When using DataTable, I was taking first element from attributes array where typeName='ItemType'. I want to implement the same functionality using ag-grid. How an achieve the same.</p>
  
  <pre><code>&lt;tr ng-repeat="e in entities"&gt;
      &lt;td&gt;
          &lt;span ng-repeat="c in e.attributes | filter:{typeName:'ItemType'}:true"&gt;
                                                              {{c.configValue}}
          &lt;/span&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>In ag-grid syntax, i have to display same value as I used in dataTable.</p>
  
  <pre><code>var columnDefs = [
     { headerName: "Type", field: "attributes", width: 150},//ItemType
     { headerName: "Brand", field: "attributes", width: 150 }//Brand
  ];
  </code></pre>