visual studio cordova - AngularJS app should delay start after read file -


my angularjs app required read stored settings before started, problem app starts before reading file storege memory. using "cordova.file.datadirectory" inside "ondeviceready" event.

ng-strict-di should job

in index.html:

<body ng-controller="myappcontroller" ng-strict-di> 

and in after read file start app using angular.bootstrap

angular.bootstrap(window.document.body, ['myapp']); 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -