improve deletion using angular