angular demo and date range math