Created search directive and binded it to the search service.