title: Angular JS grouping objects
body: <p>I have the following array of objects:</p>
  
  <pre><code>$scope.monthTasks = [object,object,...,object];
  </code></pre>
  
  <p>Each object is as follows:</p>
  
  <pre><code>Object={
  "emp_id": 1,
  "task_id":212,
  "project_id":2,
  "task_name":"Updating UI",
  "tasks": [
              {
               "task_date": "2016-9-14",
               "hours": 2,
               "minutes": 15
              }
          ]
      };
  }
  </code></pre>
  
  <p>I have multiple such objects with the with different <code>task_date</code>. I want to group these objects by date as several tasks can have same the date. How can I achieve this? </p>