Dynamic Menu by Page using popover

I have an app that I am creating that has a popover used to create a menu, similar to the standard Android menus with the three vertical dots in the upper left corner. There is one view (i.e., I am using stateProvider) that has search results on it that I would like to give the ability to do a “refresh” in the previously described menu. (NOTE: I already do pull to refresh and I could put a button on the page to do the refresh, however the client wants it in the menu.)

Any thoughts? I considered an ng-if within the code, however it appears $scope doesn’t apply to the popover, based on other threads I’ve read.

Thanks for any suggestions!!

When you initialize the Popover, you can pass a scope.

http://ionicframework.com/docs/api/controller/ionicPopover/

If you can’t, another option could be $rootScope. Or using events.