title: angular-datatables `Cannot read property 'aDataSort' of undefined`
body: <p>Please help. I can't get my server-side <a href="https://l-lin.github.io/angular-datatables/#/serverSideProcessing" rel="nofollow">datatable</a> working.</p>
  
  <p>When I add the <code>.withOption('ajax', ...)</code> to the options, it can't load anymore. I get the error: <code>Cannot read property 'aDataSort' of undefined</code></p>
  
  <p>This is my HTML:</p>
  
  <pre><code>&lt;table id="myTable" datatable class="table table-striped" dt-options="options" width="100%"&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Col1&lt;/th&gt;
          &lt;th&gt;Col2&lt;/th&gt;
          &lt;th&gt;&lt;!--Col3--&gt;&lt;/th&gt;
          &lt;th&gt;&lt;!--Col4--&gt;&lt;/th&gt;
          &lt;th&gt;Col5&lt;/th&gt;
          &lt;th&gt;Col6&lt;/th&gt;
          &lt;th&gt;Col7&lt;/th&gt;
          &lt;th&gt;Col8&lt;/th&gt;
          &lt;th&gt;Col9&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  </code></pre>
  
  <p></p>
  
  <p>This is my JS in my controller:</p>
  
  <pre><code>$scope.options = DTOptionsBuilder.newOptions()
                  .withOption('ajax', {
                      url: '/api/all',
                      processing: true,
                      type: 'POST',
                      dataSrc: 'data'
                  })
                  .withOption('processing', true)
                  .withOption('serverSide', true)
                  .withBootstrap()
                  .withLanguageSource('lib/datatables/lang/Dutch.json')
                  .withOption('searching', false);
  </code></pre>
  
  <p>EDIT - Also important to know that there has not been a AJAX call for the data.</p>
  
  <p>Can somebody tell me what is going on??</p>