add delete button and we pass a function in to the div from the controller