Don't throw an error when the user deletes entire input

In Chrome & Firefox (didn't test anything else) the directive receives an undefined value when a user deletes/backspaces the entire input clear.  This was causing errors to be thrown in the console.