Is this what your are looking for ?
http://ui-grid.info/docs/#/tutorial/210_selection
- Activate grid selection capabilities with the ui-grid-selection tag (and ui.grid.selection module registration in your app
- register gridApi and use gridApi.selection to access getSelectedRows()