I have a Html like this.
<select name="paymentList" class="form-control" tabindex=""
ng-focus="true"
ng-disabled="!showRoomPaymentList"
move-focus-by-enter-key
ng-model="paymentList"
ng-options="s.FromDate | date: 'dd-MM-yyyy' + ' To ' + s.ToDate|date:'dd-MM-yyyy' for s in showRoomPaymentList track by s.PaymentDurationId"
ng-required="true">
<option value="">--Select Payment Duration--</option>
</select>
Output like this: 01-06-2016 To 2016-06-30T00:00:00 But I want It like this 01-06-2016 To 30-06-2016
Second part date format not working how to solve?