title: Angular ng-table not loading dataset?
body: <p>I'm trying to use the <code>ng-table</code> directive. Having a really hard time just getting the demo code to work properly in my local project.</p>
  
  <p><a href="http://ng-table.com" rel="nofollow">http://ng-table.com</a></p>
  
  <p>In my controller, I set up my data.</p>
  
  <pre><code>    var dataset = [
          {name: "Moroni50", age: 50},
          {name: "Moroni49", age: 49},
          {name: "Moroni48", age: 48},
          {name: "Moroni47", age: 47},
          {name: "Moroni46", age: 46},
      ];
  
      $scope.tableParams = new NgTableParams({}, {dataset: dataset});
  </code></pre>
  
  <p>When I <code>console.log($scope.tableParams)</code> it seems the object has been created successfully. However the it shows <code>data</code> is an empty array with 0 length.</p>
  
  <p>The render code then just shows the table header with no data.</p>
  
  <pre><code>&lt;table ng-table="tableParams" class="table" show-filter="true"&gt;
      &lt;tr ng-repeat="user in $data"&gt;
          &lt;td title="'Name'" sortable="'name'"&gt;{{ user.name }}&lt;/td&gt;
          &lt;td title="'Age'" sortable="'age'"&gt;{{ user.age }}&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>No idea what's going on, is there something simple I'm missing?</p>