Ionic sidemenu, close y swipe detect

Hello, sorry for my bad English, I try to make an ionic sidemenu with the following functionality: When the menu is open and close by pressing the button, or by swipe-left, I want to change state and transition to the home, which has home.html related. The idea is to see home.html. Then, as I detect both events click and swipe.left, and as I do to go to the “home” (and see home.html)? thank you very much!