adding directive for search input