I've created a function similar to many others I've done before, where I've passed in $event via the controller where it's placed, and also in the element's function call in the HTML for an ng-change event, but the console is saying that $event is undefined in all browsers.
HTML:
<select data-ng-change="determineAbsenceInputs($event)"
JS:
$scope.determineAbsenceInputs = function($event) {
console.log($event.target);
}
Also returning the same in JSFiddle: http://jsfiddle.net/ADukg/16190/.
Written like every other function I've made where I've used it to reference the event target and it's attributes, but cannot figure out why this is happening only for this function.