Clean up whitespace
Add support for ngModel that has a string representation of a date