How can refresh Data when Sidemenu open?


#1

Hi ionicguru’s :-),

I would like , if I open a side menu to read data again . How so it works ?
Thanks for help in advance

Sebastian


#2

open the side menu manually with a click and a function:
http://ionicframework.com/docs/api/service/$ionicSideMenuDelegate/

$scope.toggleLeftSideMenu = function() {

  $ionicSideMenuDelegate.toggleLeft();

  if ($ionicSideMenuDelegate.isOpenLeft()) {
    // refresh
  }
};

#3

Great thanks a lot for your help