I have a div with an ng-click where I call following function:
$scope.toggleLog = function($event){
$event.currentTarget.slideToggle()
}
When I look in the debugger the $event.currentTarget is pointing towards my div, so seems fine. However, the slideToggle() function is undefined. I have included JQuery. The $event is a jquery object and so is the currentTarget. So why am I not able to call any JQuery related functions on it?