cordova-tutorial
cordova-tutorial copied to clipboard
Data with remote JSON?
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