What is like "on-select" for sidemenu?


#1

I know that on-select is working for tab menus but not for sidemenus?

I want to run a function when I click on the menu item…

Just like on-select=“func()” for tabs…


#2

ng-click=“func()” ???


#3

that is not firing the function hmm…

    <ion-item menu-close href="#/tab/fun" ng-click="resetList()">
      <i class="icon ion-funnel side-menu-icon-larger"> </i> 
      <span class="side-menu-font-larger"> Funnel </span>
    </ion-item>

#4

yeah maybe you should remove the href and make the routing at the end of your ngClick-function