Here it uses the dateFilter service to format the "Date typed (string)" in the format the user is expecting.