Ionic hybrid app, saving application state/data on exit
问题 I'm building an app using the ionic framework with angular js, and I'm a little confused on what the best way is to go about saving and restoring the users state when they exit the app. For example, in iOS if the user manually terminates the app, or if the phone is turned off for some reason, I want the user to be able to open my app up and still be at the same place and see the same data, even if they are offline. I have been using HTML localstorage, and understand how to save and restore