Fix the directive to work on input elements

We're using the $parsers to fetch the date object from the timepicker
Fixes #2