title: How to filter date in ngTable?
body: <p>I am trying to filter date in ngTable based on the given format <code>d MMM yyyy HH:mm:ss</code>. I followed <a href="https://stackoverflow.com/a/26735685/801116">this answer</a> and created a custom filter, but it does not take the given format instead <code>d MMM, yyyy</code>.</p>
  
  <p>How can I have filter on ngTable to filter dates in a given format? Here is my <a href="http://plnkr.co/edit/nBclLmHTHrdm8lHl4Zcq?p=preview" rel="nofollow noreferrer">plunker</a></p>
  
  <p>ngTable</p>
  
  <pre><code>&lt;td data-title="'Start Date'" class="text-center" header-class="text-left" filter="{ 'start_date': 'text' }" sortable="'type'"&gt;{{item.start_date| date: 'd MMM yyyy HH:mm:ss'}}&lt;/td&gt;
          &lt;td data-title="'End Date'" class="text-center" header-class="text-left" filter="{ 'end_date': 'text' }" sortable="'type'"&gt;{{item.end_date| date: 'd MMM yyyy HH:mm:ss'}}&lt;/td&gt;
  </code></pre>
  
  <p>Custom filter</p>
  
  <pre><code>filter('customUserDateFilter', function($filter) {
      return function(values, dateString) {
          var filtered = [];
          if (typeof values != 'undefined' &amp;&amp; typeof dateString != 'undefined') {
              angular.forEach(values, function(value) {
                  var source = ($filter('date')(value.start_date)).toLowerCase();
                  var temp = dateString.toLowerCase();
                  //if ($filter('date')(value.start_date).indexOf(dateString) &gt;= 0) {
                  //if (temp.indexOf(" ") &gt;=0)
                      //debugger;
                  if (source.indexOf(temp) &gt;= 0) {
                      filtered.push(value);
                  }
              });
          }
          return filtered;
      }
  })
  </code></pre>