[Fix] Ensuring parent controller sets validity when valid, not just invalid

- Updated directive to pass actual state of url value being valid or invalid to $setValidity function on parent controller