new api function for searching ingredients by string
autocomplete now fetches results from server passed into directive