Is there any way to render a default image in an HTML tag, in case the src attribute is invalid (using only HTML)? If not, what would
src
In addition to Patrick's brilliant answer, for those of you who are searching for a cross-platform angular js solution, here you go:
Here's a plunk where I was playing trying to find the right solution: http://plnkr.co/edit/nL6FQ6kMK33NJeW8DVDY?p=preview