title: Grouping by date but not time in angular
body: <p>I'm building my first angular app. </p>
  
  <p>I'm am returning some JSON data from an API using a factory service which includes football match fixtures. </p>
  
  <p>I want to group by date but disregard the time. The JSON date string is in the format of "2016-06-10T19:00:00Z" </p>
  
  <p>I've managed to use groupBy on my ng-repeat and this works fine - only problem is - it takes into account the time also so 2 games on the same day at different KO times will not be grouped.</p>
  
  <p>My JSON object is something like this an I assign it to an array in my controller called fixtures.list:</p>
  
  <pre><code>"fixtures":[
  {
      "_links":{
          "self":{
              "href":"http://api.football-data.org/v1/fixtures/149855"
          },
          "soccerseason":{
              "href":"http://api.football-data.org/v1/soccerseasons/424"
          },
          "homeTeam":{
              "href":"http://api.football-data.org/v1/teams/773"
          },
          "awayTeam":{
              "href":"http://api.football-data.org/v1/teams/811"
          }
      },
      "date":"2016-06-10T19:00:00Z",
      "status":"TIMED",
      "matchday":1,
      "homeTeamName":"France",
      "awayTeamName":"Romania",
      "result":{
          "goalsHomeTeam":null,
          "goalsAwayTeam":null
      }
  },
  ...
  </code></pre>
  
  <p>and my angular template like this:</p>
  
  <p><a href="http://plnkr.co/edit/R4qjDfyKhefDOaHmleJv?p=preview" rel="nofollow">http://plnkr.co/edit/R4qjDfyKhefDOaHmleJv?p=preview</a></p>
  
  <p>My controller:</p>
  
  <pre><code>function FixturesController (EurosService) {
      var ctrl = this;
      ctrl.list = [];
      function getFixtures () {
          EurosService
              .retrieveFixtures()
              .then( function (response) {
                  ctrl.list = response;
              });
      }
      getFixtures();
  }
  
  angular
      .module('app')
      .controller('FixturesController', FixturesController)
  </code></pre>
  
  <p>Help appreciated on this. Whats the best way to do this? Thanks.</p>