title: AngularJS: Remembering a variable after a page refresh, what are my options?
body: <p>Anything special available in AngularJS to remember a variable after a page refresh, i have a couple of things i need to remember i.e. Tab positions.</p>
  
  <p>I was thinking about cookies here, but i have noticed jquery-ui used to do the same but they deprecated it, probably not the way to go ?</p>
  
  <p>Also a cookie would be present until it was deleted or expired not just for the current session ?</p>
  
  <p>Then I thought of Html 5 local storage but this got me thinking about what if the browser doesn't support html 5 local storage ? Is there anything available to say "use html 5 local storage if available" otherwise "use cookies"?</p>
  
  <p>Thanks</p>