Fix Angular bootstrapping for 'deviceready' cordova event
Add method to read/write treks data file locally on mobile