Device plugin not loading before ionic app

Hey guys,

I am currently running IonicFramework v.1.0.0-beta.1 with cordova 3.4.0

I have succesfully installed statusbar and the device plugins via Cordova CLI.

My issue is that my app is inconsistently loading these plugins. The result is that the app pushes up into the header because it is not able to call the device plugin to check the platform and load the correct margins.

Any ideas on how I can have Ionic wait for the device plugin to load before running?


Are you using ionic.Platform.fullScreen()?