Android Native Back Button Not Like DevApp or Ionic View

Hi!
I have some trouble deploying my app on a real android device.
I have tested my Ionic app in both Ionic DevAPP and Ionic View and all is working good with them.
When I install the generated APK in my Android device (same of DevApp and View) the native back button return back to the previous browser hoistory page and not do stuffs such as closes menus, dialogs and pages, or navigateing correctly to the app. What have I missed?

Thanks Gabor.