title: implementation of ng-table angularJS
body: <p>I want to implement ng-table for my project Spring and angular JS HTML5  but the problem when i add the ng-table nothing worked . </p>
  
  <p>---App.JS----</p>
  
  <pre><code>    angular
    .module('TimeLeaveProject', [
      'ngAnimate',
      'ngCookies',
      'ngResource',
      'ngRoute',
      'ngSanitize',
      'ngTouch',
      'ngTable'
    ])
    .config(function ($routeProvider) {
      $routeProvider
        .when('/', {
          templateUrl: 'views/main.html',
          controller: 'DemoCtrl'
        })
        .when('/about', {
          templateUrl: 'views/about.html',
          controller: 'AboutCtrl'
        })
        .otherwise({
          redirectTo: '/'
        });
    });
  </code></pre>
  
  <p>--Controller AngularJS --- </p>
  
  <pre><code>angular.module('TimeLeaveProject', ['ngTable'])
  .controller('DemoCtrl', function($scope) {
      alert("demoCTRL"); 
  
      $http.get('/users/all').
      success(function(data) {
          $scope.users = data;
      });
  
  })
  </code></pre>
  
  <p>---HTML Page-- </p>
  
  <pre><code>&lt;div ng-controller="DemoCtrl" style="margin-top: 10%;text-align: center;" class="jumbotron"&gt;
  
  
  
      &lt;h2&gt;Users&lt;/h2&gt;
      &lt;table ng-table class="table"&gt;
  
     &lt;tr ng-repeat="user in users"&gt;
          &lt;td data-title="'Name'"&gt;{{user.username}}&lt;/td&gt;
          &lt;td data-title="'Age'"&gt;{{user.password}}&lt;/td&gt;
      &lt;/tr&gt;
  
  
  
     &lt;/table&gt;
  </code></pre>
  
  <p><strong>and i add the local link for ng-table in my index.html page . The problem that i got nothing , all the views doesn't work .</strong> </p>