I have applied the attribute of the ng-change and it throws error.
I am using angular version 1.5.*
below is my code:
<input type="text" pick-a-date="filter.availability" pick-a-date-options="listingCtrl.pickadateDefaults()" name="availability" ng-change="listingCtrl.submitFilterForm()" />
I want to trigger a function as the user changes the date.
I have applied the attribute of the ng-change and it throws error.
I am using angular version 1.5.*
below is my code:
<input type="text" pick-a-date="filter.availability" pick-a-date-options="listingCtrl.pickadateDefaults()" name="availability" ng-change="listingCtrl.submitFilterForm()" />I want to trigger a function as the user changes the date.