How go back to history working?


I visit a ionic 2 project in my app’s Android webview, when the go back button pressed, I want to go to the previous page but since there is no history so it just quit the webview, anyone have the idea that make history work when push or pop pages of ionic?