App works perfect on browser, and crashes on device and simulatore


Hey there,
What I did is that I copied an existing app re-structured it. Everything goes find and the app works perfectly on the browser with zero error. But when I emulate it or run it on iPhone device, the whole app crashes and not responding, the layout is messy … nothing is working …

I tried to remove ios platform and add it again, got the same result.
Also tried to remove all possible plugins that will cause any problem like ImagePicker and PushPlugin , etc … also got the same result.

If anyone had the same issue or may expect the result I would appreciate it.



maybe you can debug your app… the layout is messy… means that angularjs variables are not replaced?

If such an error occurs you should get console.logs/errs in your javascript console in e.g. chrome/safari via remote debugging