title: Angular ngGrid select row on page load
body: <p>My question is an extension to thisquestion</p>
  
  <p><a href="https://stackoverflow.com/questions/16875283/getting-select-rows-from-ng-grid">Getting select rows from ng-grid?</a></p>
  
  <p>plunker - <a href="http://plnkr.co/edit/DiDitL?p=preview" rel="nofollow noreferrer">http://plnkr.co/edit/DiDitL?p=preview</a></p>
  
  <p>I need a row to be selected on page load and I need to avoid listening to 'ngGridEventData'</p>
  
  <p>calling $scope.gridOptions.selectRow(2, true); in the controller body fails since the grid has not been loaded. </p>
  
  <p>avoiding listening to ngGridEventData is due to the fact that I need the controller to listen to an event triggered before and based on that I need to select the nggrid row.</p>
  
  <p>any ideas?</p>