Optimized json
Reimplemented search on index page to cache search results for each search instead of performing new query for every page change or reordering. Used knockout js. The 'search' controller function now only returns JSON representing the list of recipes for a given query, and sorting and paging logic is maintained on client side.
Index uses local storage to remember what the orderBy and currentPage parameters are when navigating between pages. Remove recipe from index page integrated with knockoutjs