refactor(sideMenu): move controller logic to $ionicSideMenus