title: angular js ng-table basic example
body: <p>Im using meteor, and am trying to implment the basic example provided on the ng-tables site. However the data is not being displayed just the filters and the sort boxes. </p>
  
  <pre><code>&lt;body ng-app="myApp"&gt;
    &lt;h1&gt;#best programmer&lt;/h1&gt;
    &lt;p&gt;interns rock!&lt;/p&gt;
    &lt;div ng-controller="tableControl"&gt;
      &lt;table ng-table="vm.tableParams" class="table" show-filter="true"&gt;
        &lt;tr ng-repeat="user in $data"&gt;
            &lt;td title="'Name'" filter="{ name: 'text'}" sortable="'name'"&gt;
                {{user.name}}&lt;/td&gt;
            &lt;td title="'Age'" filter="{ age: 'number'}" sortable="'age'"&gt;
                {{user.age}}&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
  &lt;/div&gt;
  
  
  &lt;/body&gt;
  
  &lt;link rel="stylesheet" href="https://cdn.rawgit.com/esvit/ng-table/v1.0.0/dist/ng-table.min.css"&gt;
  </code></pre>
  
  <p>JS code</p>
  
  <pre><code>import angular from 'angular';
  import angularMeteor from 'angular-meteor';
  
  import './index.html';
  
  angular.module("myApp", ["ngTable"])
    .controller('tableControl', tableControl);
    tableControl.$inject = ["NgTableParams"];
  
     function tableControl (NgTableParams) {
  
      var self = this;
      var data = [{name: "Moroni", age: 50},{name: "Moroni", age: 50},{name: "Moroni", age: 50},{name: "Moroni", age: 50} /*,*/];
      self.tableParams = new NgTableParams({
                page: 1, // show first page
                count: 10 // count per page
      }, { dataset: data});
  
    }
  </code></pre>