title: Save updated data using backend rest api in ui grid edit cell feature
body: <p>I am working on ui grid edit cell feature. I need to update the edited cell value to the database. How  can i do the same. I am using rest api as backend.
  Also how can i get the list of rows selected in controller<br>
  my working code</p>
  
  <pre><code>var app = angular.module('app', ['ngTouch', 'ui.grid', 'ui.grid.edit']);
  
  app.controller('MainCtrl', ['$scope', '$http', function ($scope, $http) {
    $scope.gridOptions = {  };
  
    $scope.gridOptions.columnDefs = [
      { name: 'id', enableCellEdit: false},
      { name: 'name' },
      { name: 'age', displayName: 'Age' , type: 'number', width: '10%' }
    ];
  
  
    $http.get('https://cdn.rawgit.com/angular-ui/ui-grid.info/gh-pages/data/500_complex.json')
      .success(function(data) {
        $scope.gridOptions.data = data;
      });
  }])
  </code></pre>
  
  <p><a href="http://plnkr.co/edit/kAQnXGTn12Z7v8w16RL9?p=preview" rel="nofollow">http://plnkr.co/edit/kAQnXGTn12Z7v8w16RL9?p=preview</a></p>