Use controller dependency to initialize search form