Is there a way to use AngularJS to check if a date, such as February 29, 2014, actually existed?
Although February 29 is a valid date on its own, February 29, 2014 did not occur.
I attempted using angular.isDate() with the following code:
var date = new Date(2014, 02, 29);
var isValidDate = angular.isDate(date);
Even though February 29, 2014 did not exist, JavaScript creates a Date Object for March 01, 2014, resulting in angular.isDate() returning true.