If values are empty, don't consider them invalid.  'required' or 'ng-required' will decide.  This validation should only decide if there is a value.
recompile library