Angularjs fallback image directive

Using fallback image with <img> tag is common scenario to show a default image if the original image is not loaded. In angular you can achieve this…