What controller is side-menu associated with

In a side menu I need to create a new $scope function to reload a link when it’s clicked on.

What controller should I put the function triggered by a menu ng-click on?

I put a controller on my side-menu like this:

<ion-side-menus ng-controller="MainCtrl">

and then any functions for the ng-click go in this controller.

Generally its AppCtrl, however you can customize according to your standards