App crashes on Android phone


I’ve deployed this thru Phonegap build (It’s a small part of a login flow), and it crashes and exits the app. I’ve narrowed it down to the state.go in the LoginCtrl. It’s because the view isn’t ready. If I wrap it in a $timeout with 2 secs. delay, it works. Is there an event to listen for, when switching between states?

It works in ripple emulator.

I’ve done this with a regular angularJs app months ago, with no crashes.

Android is 4.03


It seems to be the same problem reported here: I’m having this issue too.