gsklee / ngStorage

localStorage and sessionStorage done right for AngularJS.
MIT License
2.34k stars 461 forks source link

how can i save an array of objects inside the local storage, kinda like keep pushing it on the already existing array. #253

Open PManager1 opened 7 years ago

PManager1 commented 7 years ago

I tried this but

var arr = [];
$localStorage.$default({ propertiesToUpdateArr: arr, propertiesCacheList: null });