How to tell Angular to use a default Image if the image is missing?

I was working on a project, where we get a lot of data from a remote system we do not control. We were displaying this data, which included an image. Most of the time the image data was valid, but every once in a while we got a broken image reference. We didn't want to show the default browser broken image link, like this: So, we needed another way. The answer was to use an error handler on the…