direktive for title validation