fixed the angular code on recipe and searchResults page to handle empty search results without crashing