title: ng-table filter millisecond date data
body: <p>My date data comes from JSON in milliseconds. I have filtered it in view using <code>{{date | date:Filter}}</code>, but filter doesn't work. When I am writing in input filter field it actually works on milliseconds data.
  How to make filter working on already filtered view data?</p>
  
  <pre><code>$scope.tableParams = new ngTableParams({
      page: 1,            // show first page
      count: 10,
      sorting: {
          creationDate: 'desc'
      }
  }, {
      counts: [],
      total: $scope.pagainationRslt.length, 
      getData: function ($defer, params) {
              // use build-in angular filter
              var filteredData = params.filter() ?
              $filter('filter')($scope.pagainationRslt, params.filter()) :
              $scope.pagainationRslt;
              var orderedData = params.sorting() ?
              $filter('orderBy')(filteredData, params.orderBy()) :
                  $scope.pagainationRslt;
  
              params.count($scope.currentCount)
              params.total(orderedData.length)
              $defer.resolve(orderedData);
  
      } 
  });  
  </code></pre>
  
  <p>and html: </p>
  
  <pre><code>&lt;table ng-table="tableParams" show-filter="true"class="ui collapsing celled striped table"&gt;
      &lt;tr ng-repeat="item in $data"&gt;
      &lt;td sortable="'date'" filter="{ 'date' : 'text' }"&gt;{{item.date | date:dateEUFormat}}&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>