ng-image-slider
ng-image-slider copied to clipboard
how to handle error event for image inside ng-image-slider
I am using an ng-image-slider inside angular component to display sliding images. If the source of the image is not available then I want my slider to show default image (with taken into consideration that default image is definitely present). I have seen to handle such issues we use onerror event for tag. so it would be (error) event handler in angular but how can I do that for an image inside ng-image-slider ?
So how we can do it for images inside