Я работаю с приложением, используя Angular.
У меня есть кнопка удаления, у которой есть подтверждение, прикрепленное к onClick()
<a class="delete button" href="#" onClick="return confirm('Are you absolutely sure you want to delete?')" ng-click="remove_user(user, $event)" ></a>
Проблема заключается в том, когда появляется подтверждение: "ОК" и "Отмена" удаляют элемент, что мне не хватает, чтобы "Отменить" просто отменить?