Ionic 1.3.1 - Back button -> Exit app. How to off this feature (bug)?

Guys, need help.
I’m working with Ionic 1.3.1. Not understand what happened with my back button. When I press back, app immediately closing. Tried much variants from forums, but no one not working. Also searching ‘’, not has in my code.
How I can debug this? How I can cancel this feature (bug)?

Hi Azovl,

For what platform you building the app?