Get the element this from the event function


#1

lets say i have this element :

<div ng-click="onClick()" >Hello</div>

attached to the folowing function :

$scope.onClick = function() {

}

is there a way to get the element dom object like the “this” in regular js event function without using the event.currentTarget?

thank you