While experimenting with angular.element, I was curious about accessing the current DOM from an ng-click event. Is there a way to do this?
For example:
<div ng-click="angular.element(curElement).parent()..."></div>
How can I retrieve the current element (e.g., the Div it belongs to) without using a directive or controller? I've attempted passing 'this' and '$element' with no success.