I was doing some tests with angular.element and wanted to figure out if there is a way to get the current DOM from an hg-click?
Example
<div ng-click="angular.element(curElement).parent()..."></div>
How do I get the current element? I.e the Div element it belongs to? I don't need to use a directive or a controller, I just want to figure out if there is a way through the above method.
I tried passing in 'this' and '$element' but nothing.