I have a case that, I want to show default image in case of image source error.
My souce code is here,
<ion-img [src]="assets/imgs/avatar7.png" (ionError)="this.src=assets/imgs/avatar7.png" ></ion-img>
this throwing error as
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'png' of undefined
Any help will be appreciable.
