      <input date-range-picker id="daterange2" name="daterange2" class="form-control date-picker" type="text"
                           min="'2015-01-23'" max="'2015-08-25'" ng-model="date"
                           required/>
                    <div class="help-block" ng-messages="dateForm.daterange2.$error">
                        <p ng-message="min">Start date is too far in the past.</p>
                        <p ng-message="max">End date is too far in the future.</p>
                        <p ng-m