Search from menu to different controller / route


#1

I have a searchbox in my left sidemenu (the ionic sidemenu). I have a method in a controller that, onclick, closes the menu and calls another method on the same controller which does a search. I can see the query and results come back in the second method call – but the results never populate on the search results page.

If I search form the same page, not starting on the sidemenu, the search results display just fine. I’ve tried all of the timeout and scope.apply stuff out there, and usually that works. It’s like starting from the sidemenu is causing some kind of disconnect even though it’s the same controller for both methods. Is it because I’m starting from the menu “view” and switching to the results view? Is the menu a special thing where this type of communication is not possible?

Any help is greatly appreciated.