Deleting a Contact

Learn how to delete a contact permanently from the local storage of our application.

Permanently deleting a contact from storage

We also need to adapt the code for deleting a contact so the model gets erased from the storage.

Previously, we simply removed it from the collection, but we now need to actually delete it. This is our current code in the List controller:

Get hands-on with 1200+ tech skills courses.