title: Get current week
body: <p>So i used <strong>momentjs</strong> to handle my date formats and get the current week.</p>
  
  <p>But my question is how do i get it to start from <strong>monday</strong> to <strong>sunday</strong>.</p>
  
  <p><strong>getweek.js</strong></p>
  
  <pre><code>function getCurrentWeek() {
    var currentDate = moment();
  
    var weekStart = currentDate.clone().startOf('week');
    var weekEnd = currentDate.clone().endOf('week');
  
    var days = [];
  
    for (var i = 0; i &lt;= 6; i++) {
      days.push(moment(weekStart).add(i, 'days').format("MMMM Do,dddd"));
    }
    console.log($scope.weekDays = days);
  }
  </code></pre>
  
  <p><strong>result</strong></p>
  
  <pre><code>{0:"November 5th,Sunday"
  1:"November 6th,Monday"
  2:"November 7th,Tuesday"
  3:"November 8th,Wednesday"
  4:"November 9th,Thursday"
  5:"November 10th,Friday"
  6:"November 11th,Saturday"}
  </code></pre>
  
  <p><strong>expected result</strong></p>
  
  <pre><code>{0:"November 6th,Monday"
  1:"November 7th,Tuesday"
  2:"November 8th,Wednesday"
  3:"November 9th,Thursday"
  4:"November 10th,Friday"
  5:"November 11th,Saturday"
  6:"November 12th,Sunday"}
  </code></pre>
  
  <p>Thanks.</p>