angular default to image if 404 code example
Example: if image is broken show alternative image angular
<img class="thumbnail-image" src="{{user.profile_image}}" onerror="this.src='assets/images/user.jpg'" alt="alternative" />
<img class="thumbnail-image" src="{{user.profile_image}}" onerror="this.src='assets/images/user.jpg'" alt="alternative" />