Get Date range in angular-calendar view
Solution 1:
You can use the moment library like
This Month': [moment().startOf('month'), moment().endOf('month')]
Last Year': [moment().subtract(1, 'years').startOf('years'),
moment().subtract(1, 'years').endOf('years'),]