change angularjs and phonegap load sequence