how to compare selected date is greater than todays date in moment : I am using angularjs and moment library, i have start_date object contains several dates, once user clicks proceed I am checking each date to check whether it is valid date i,e which is grater than today or equal to today, else I am throwing error.

Here is my code
 

    $scope.checkDateTime=function(){                    
                    angular.forEach($scope.orders.start_date,function(s){
                        console.log('data'+s);
                        if (moment(s).format('YYYY-MM-DD') < moment().format('YYYY-MM-DD')) {
                            swal({
                                  title: "Please select a valid date.",
                                  text: "Please select valid start date.",
                                  confirmButtonClass: "btn btn-primary add-prod-btn",
                                  imageUrl: 'images/vmy-sub.png'
                                })
                            return false;
                        }
    }