title: Angularjs localStorage to store settings in cordova app
body: <p>I'm using AngularJS v1.2.7 with Cordova 3.3.0 (Android) I need to store some settings in the phone memory- so when the app/device restarts, the app can still have access to this stored data.</p>
  
  <p>Any tutorials about this? I couldn't find any :(</p>
  
  <p>Knowing that Cordova supports; LocalStorage, WebSQL (<a href="http://dev.w3.org/html5/webdatabase/#status-of-this-document" rel="nofollow noreferrer">no more maintained</a>), IndexedDB (<a href="http://caniuse.com/#search=indexeddb" rel="nofollow noreferrer">not widely supported</a> by Opera and Safari). I tend to use LocalStorage but does it keep/remember the data even after I restart the device?</p>
  
  <p>At the moment I'm using the answer <a href="https://stackoverflow.com/questions/12969407/cordova-localstorage-not-persisting#answer-12969480">#12969480 by Richard Szalay</a> .</p>