fixed issue where deleting an index was only possible if clickin on the icon

ngclick was on the icon instead of the whole link block