Home AngularJS - Image "onload" event
 I've been searching for an answer to simple but not trivial question: What is a right way to catch image' onload event in Angular only with jqLite? I found this question , but I want some solution with directives. So as I said, this is not accepted for me: .controller("MyCtrl", function(\$scope){ // ... img.onload = function () { // ... }  because it is in controller, not in directive.