cordova-tutorial icon indicating copy to clipboard operation
cordova-tutorial copied to clipboard

Data with remote JSON?

Open bokkie opened this issue 10 years ago • 0 comments

Hi Christophe,

is it possible to retrieve the data with a remote JSON? I struggle with the delay it gives when getting the data from a remote file, because the homeview initializes before the ajax call is finished, and therefor the json data is inserted after de views/routes are implemented or loaded. The done argument in the function "service.initialize().done(function ()" does not seem to wait for the ajax call till it is done to continue.... Is there a workaround?

Grtz Gerben

bokkie avatar Apr 17 '15 14:04 bokkie