I have listed array objects on html page, when i click on any of them i get its info, let me explain how i am doing this
my test.ts file
this.fetchdata = JSON.parse(localStorage.getItem('education'));
log(elem) {
console.log(elem);
}
my test.html
<ul id="elements">
<li *ngFor="let elem of fetchdata" (click)="log(elem)">
{{elem.title}} {{elem.description}}
</li>
</ul>
when i click i see this in console -

How can i delete the clicked record from locally stored array in key education ?