Fixed delete functionality and ngrepeat track by