I am trying to bind an event to an iframe so that no matter where in the iframe is clicked, the event fires a function in the angular controller. I am trying to do this with just the jquery lite that ships with angular, or with pure javascript, whichever solution I happen across first.
I have been trying variations on this but not having any luck:
angular.element('iframe').contents().find('html').bind('click', function () {
alert("hello");
});