Shore up logic in the date picker directive surrounding initialization and range validation.