javascript - angularjs localstorage against page refresh -


i doing few steps form angularjs. there possibility user hit f5 button, , refreshes page. data collected angular deleted. prevent myself against possibility.

i thought using local storage , angular library that, far i'm not convinced yet proper path deal problem. thinking correct, or there better idea solve that?

chek out http://sisyphus-js.herokuapp.com/?utf8=%e2%9c%93&basic_form_country=usa&basic_form_name=hihi~&button=#advanced-sample library persist form's data in browser's local storage. easy use, have option save input field , able retrieve other page.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -