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

mysql - FireDac error 314 - but DLLs are in program directory -

python - ValueError: could not convert string to float -

php - Laravel Get all child node count with condition -