Make deleting a contact delete the email addresses of the contact.
Refactor the create and delete controllers to use the resource instead of the repository that calls $http directly.