Hi!
Thanks, i test it and this doesnt work: changeUrlFunction is not defined at 
HTMLImageElement.onerror 

in controller: 
function changeUrlFunction() {
  $scope.ListDetail.REND_KEP = "/images/stories/empty_img.jpg";
};

2017. május 10., szerda 21:08:46 UTC+2 időpontban Alejandro Medina a 
következőt írta:
>
> You can use the onerror attribute... just like this: 
>
> <img src="image.gif" onerror="changeUrlFunction()">
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to