Ionic sidemenu when click back menu device, it will close app

i’m starting my app project by using $ ionic start myApp sidemenu, when i click “Playlist” side menu and then i click my back menu device, it will close app.

usually when we click to another url and then we click back menu device it will back to history of that app.

so, my target users are Android, most of them when back to home, they will choice “menu back device”. but when i use sidemenu, that automatic will exit my app.