title: How to get the Days b/w current week in moment.js
body: <p>I'm new to angular js and moment.js i have the following code which gives the start day and end day of a week like January 17th-January 23rd. but i want all the 7 days in this format january 17, monday.</p>
  
  <p><strong>My code</strong></p>
  
  <pre><code>var currentDate,
  weekStart,
  weekEnd,
  shortWeekFormat = 'MMMM Do';
  
  function setCurrentDate(aMoment){
  currentDate = aMoment,
  weekStart = currentDate.clone().startOf('week'),
  weekEnd = currentDate.clone().endOf('week')
  }
  
  setCurrentDate(moment());
  $scope.currentWeek = function(){ return currentDate.format(shortWeekFormat);         };
  $scope.currentWeekStart = function(){ return weekStart.format(shortWeekFormat); };
  $scope.currentWeekEnd = function(){ return weekEnd.format(shortWeekFormat); };
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;h2&gt;&lt;i class="fa fa-arrow-left"&gt;&lt;/i&gt;Week Of {{currentWeek()}}{{currentWeekStart()}}-{{currentWeekEnd()}}&lt;i class="fa fa-arrow-right"&gt;&lt;/i&gt;&lt;/h2&gt;
  &lt;button ng-click="prevWeek()"&gt;previous week&lt;/button&gt;
  &lt;button ng-click="nextWeek()"&gt;next week&lt;/button&gt;
  </code></pre>