What controller is side-menu associated with


#1

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?


#2

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.


#3

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