Validation directive is correct injection done