on check box click show dates till current date
in angularjs
HTML
<div class="block">
<input type="checkbox" ng-model="showDom"> Fill Construction bulk dates </input>
<input type="date" id="bulkdate" name="trip-start" max = '{{maxDate}}' ng-show="showDom" ng-model='bulkDate' ng-keydown='valuePreventDefault()'/>
</div>