How to store data permnanently in angularjs -


i find whenever refresh page, angular rebuild whole module. there way store data permanently. cookie service way?

you can use local storage this:

localstorage.setitem('variable', 'stored value'); alert(localstorage['variable']); 

Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -