javascript - Saving the state of object when page refresh in angular js -
when page built using angular js refreshed, losing state. there way maintain state.
any help on handled this.
you can utilize url (with params - ugly), localstorage or cookies save state of app.
the fastest way localstorage.
i should don't utilize angularjs, don't think hard implement localstorage persistence.
some packages came after quick google search:
https://github.com/grevory/angular-local-storage
https://github.com/gsklee/ngstorage
good luck.
javascript angularjs
No comments:
Post a Comment