How to delete local Storage array element using angularjs

how to delete local Storage array element using angularjs

No need of Angularjs, You can use Plain ol’ JavaScript to do this work, localStorage.removeItem("someKey").

i am try to this , but i want local storage array counting the elements are deleted 1 by 1 how to do it

i am using this code. but this output is my local storage complete array delete. i want this array inside the values are deleted

I hope this will help you

i am using this code …
return localStorageService.remove(index);

but this error are occred:

[$injector:unpr] Unknown provider: localStorageServiceProvider <- localStorageService <- Editform

did you installed this module ?

no, i am not installed this module

First read instructions carefully
Then retry

i am using yarrrr bt dynamic errors are increase…

i am now installing that module

now this error occur:

ionic.bundle.js:17917 Uncaught Error: [$injector:modulerr] Failed to instantiate module starter due to:

my all array are store now in local storage…