@jorgecacho wrote:
Hi,
I have built my app and it uses some additional local files that I load in this way:
$http.get('/data/mydata.json').success(function(data) { $scope.mydata = data; });
Everything works perfect on my PC (because the files exist) but if I build apk file and I transfer it to the phone or if I execute
ionic run
it doesn't work, because the files are not in the phone.How can I include these aditional files into the apk?
Thanks
Posts: 3
Participants: 2