title: Angular Datatables REST based per page data with explicit table rendering
body: <p>I have followed the approach "<a href="https://stackoverflow.com/questions/25211553/datatables-custom-response-handling">DataTables: Custom Response Handling</a>" by Fabrício Matté. However, my requirement is to avoid rendering of table's rows and columns via callback. Instead, would like to traverse the current ajax request returned json data and render explicit html (tr/td) to have more control. Due to this, currently i see data shown twice on my table. At the same time, i understand that callback is rendering the page related buttons: prev, 1,2 next etc and click events which i would like to reuse and wan't to avoid custom implementation.</p>
  
  <p>JS:</p>
  
  <pre><code>function notificationsCtrl($scope,$http,$resource, DTOptionsBuilder, DTColumnBuilder) {
  var vm = this;
  vm.notifications = [];
  $scope.dtOptions = DTOptionsBuilder.newOptions()
      .withOption('serverSide', true)
      .withOption('ajax', function(data, callback, settings) {
          // make an ajax request using data.start and data.length
          $http.get('notifications/list?page=' + (((data.start)/10)+1)).success(function(res) {
              // map your server's response to the DataTables format and pass it to
              // DataTables' callback
              callback({
                  recordsTotal: 120,
                  recordsFiltered: 120,
                  data: res
              });
              vm.notifications = res;
          });
      })
      .withDataProp('data') // IMPORTANT¹
      .withOption('processing', true)
      .withPaginationType('full_numbers');
  
      $scope.dtColumns = [
                          DTColumnBuilder.newColumn('notificationId').withTitle('notificationId'),
                          DTColumnBuilder.newColumn('createUserId').withTitle('createUserId'),
                          DTColumnBuilder.newColumn('Language').withTitle('language')
                        ];
  </code></pre>
  
  <p>}</p>
  
  <p>HTML: sample but actual will require extra processing for some of the td tags</p>
  
  <pre><code>&lt;table datatable="" dt-options="dtOptions" dt-columns="dtColumns" class="table table-striped table-bordered table-hover"&gt;
                  &lt;thead&gt;
                          &lt;tr&gt;
                              &lt;th&gt;Id&lt;/th&gt;
                              &lt;th&gt;Title&lt;/th&gt;
                              &lt;th&gt;Language&lt;/th&gt;
                              &lt;th&gt;Last Updated&lt;/th&gt;
                              &lt;th&gt;Actions&lt;/th&gt;
                          &lt;/tr&gt;
                      &lt;/thead&gt;
                      &lt;tbody&gt;
                          &lt;tr ng-repeat="notification in wynkCMSToolApp.notifications"&gt;
                              &lt;td&gt;{{ notification.notificationId }}&lt;/td&gt;
                              &lt;td&gt;{{ notification.title }}&lt;/td&gt;
                              &lt;td&gt;{{ notification.Language }}&lt;/td&gt;
                          &lt;/tr&gt;
                      &lt;/tbody&gt;
              &lt;/table&gt;
  </code></pre>