title: new Date() only show the year or month and year
body: <pre><code>$scope.articles = [
      {
      link: "http://google.com",
      source: "Google",
      title: "hello",
      "date": new Date(2008, 4, 15)
      },
  ];
  
  &lt;tbody&gt;
      &lt;tr ng-repeat = "article in articles | orderBy:sortType:sortReverse | filter:searchArticle "&gt;
          &lt;td&gt;{{article.source}}&lt;/td&gt;
          &lt;td&gt;&lt;a href="{{article.link}}" target="_blank" rel="noopener noreferrer"&gt;{{article.title}}&lt;/a&gt;&lt;/td&gt;
          &lt;td class="date-table-td"&gt;{{article.date | date:'longDate'}}&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;&lt;!-- End table body --&gt;
  </code></pre>
  
  <p>Hi, I currently have this. So the date shows as May 15, 2008. How do I show only the year or only the year+month?</p>
  
  <p>Thanks.</p>