title: ng-grid click edit to open pop-up
body: <p>I've a ng-grid which has Edit, and Delete buttons at the bottom of the grid.</p>
  
  <p>On clicking the Edit button, I want it to open a Modal pop-up with info. from selected rows shown in the modal.</p>
  
  <p>This is my HTML.</p>
  
  <pre><code>&lt;div class="gridStyle" ng-grid="gridOptions"&gt;&lt;!--ng-grid--&gt;
  &lt;/div&gt;
  &lt;button ng-click="??" ng-  disabled="!singleSelection()"&gt;Edit&lt;/button&gt;
  &lt;button ng-click="??" ng-disabled="disabled"&gt;Delete&lt;/button&gt;
  </code></pre>
  
  <p>And my JS is as follows:</p>
  
  <pre><code> $scope.gridOptions = {
              data: 'scheduleData.scheduleList',
              columnDefs: [
                  { field: 'id', displayName: 'ID', visible: false },
                  { field: 'disabled', displayName: 'Enabled', cellFilter: 'checkmark' }
                  { field: 'dpName', displayName: 'Description' },
                  { field: 'dpType', displayName: 'Type' },
                  { field: 'dpProtection', displayName: 'Protection' },
                  { field: 'doProtectionParam', displayName: 'DP Protection Paramters', visible: false },
                  { field: 'startDate', displayName: 'Start Date', visible: false, cellFilter: 'date:\'M/d/yy h:mm a\'' },
                  { field: 'endDate', displayName: 'End Date', visible: false, cellFilter: 'date:\'M/d/yy h:mm a\'' },
                  { field: 'recurrenceType', displayName: 'Recurrence' },
                  { field: 'everyNth', displayName: 'Estimated Duration', visible: false },
              enableCellSelection: false,
              enableSorting: true,
              enableColumnResize: true,
              enableColumnReordering: true,
              showColumnMenu: true,
              showFilter: true,
              showFooter: true,
              enableRowselection: true,
              multiSelect: true,
              selectedItems: $scope.selections
  
              };
  </code></pre>
  
  <p>Any help will be greatly appreciated.</p>
  
  <p>Thanks</p>