I am requesting user to provide 2 dates , for example check-in and check-out date
<input type="date" ng-model="fromDate" />
<input type="date" ng-model="toDate" />
Assuming dates will be in format of mm/dd/yyyy
After this, I should dynamically calculate the difference between 2 dates and display it..
<input type="number" ng-value="">
(not sure how to dynamically calculate different between dates without moving to controller)
I should displaying using value= {{calculate difference here}}