There is an block HTML in page:
<div class="item" ng-click="delete();"></div>
Angular JS:
$scope.delete = function (){
if(confirm){
// hide block
}
}
I can send $event
to function delete($event);
and then using Jquery hide block, how to do it in Angular JS?