Angular.js - using angular.isDate() function

A simple Angular.js example of checking if a variable is a date.