I am fairly new to angularjs, but here it goes. I am able two dates through angularjs in the form dd/mm/yyyy, but what I need to do is somehow subtract the two
dd/mm/yyyy
You can use angular-moment to calculate the difference, using the amDifference filter:
Get the difference between two dates in milliseconds. Parameters are date, units and usePrecision. Date defaults to current date. Example:
Difference: {{ dateFrom | amDifference : dateTo : 'days' }} days