Fix: pass delete method to angular directive in order to do the actual deletion