title: get all days and dates from month and year using moment.js
body: <p>The below code's are getting from moment.js document</p>
  
  <pre><code>moment().date(Number);
  moment().date(); // Number
  moment().dates(Number);
  moment().dates(); // Number
  </code></pre>
  
  <p>But the input <code>parameter</code> data type is number instead of <em>short month name and year</em> which is mine requirement inputs.</p>
  
  <p>Below is my input format like an array object</p>
  
  <pre><code>`$scope.allMonths = ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
  "Jul", "Aug", "Sep", "Act", "Nov", "Dec"];
  $scope.Year=2017;// `
  </code></pre>
  
  <p><strong>So I have month and year, Now I want to get all days and date by using moment.js</strong> </p>
  
  <hr>
  
  <h2>Update:</h2>
  
  <blockquote>
    <p>I got the exact result by using normal javascript in my below <a href="https://stackoverflow.com/a/29306976/2218635">Answer</a>. But still am unable to find the solution by using moment.js</p>
  </blockquote>