title: Compare two dates angularjs
body: <p>I have two dates to be compared in the following format
  the response coming from backend service has following date format</p>
  
  <p>alignFillDate - 2015-06-09
  pickUpDate - 2015-05-10</p>
  
  <p>so, front end needs to check the condition is if pickUpDate is less then the alignFillDate, we will increase the alignFillDate by 30 days, i.e, we increment the pickUpDate to next month(30 days from now ) and show different text on view </p>
  
  <p>How, do i achieve this using angular and javascript. ? how does my html and controller needs to changed for this date calculation</p>