I have tried to add a fallback image to an inline tag
i.e something like this
<div style="background-image=url('invalid-url'), url('valid-url')"></div>
which converts in ionic2 like this
<div [style.height]="'100px'" [style.width]="'100px'" [style.backgroundImage]="'url('+invalidImg+'), url('+img+')'"></div>
which gives me a warning
sanitizing unsafe style value url(http://placehold.it/100100), url(http://placehold.it/100x100)
that I know is a angular2 bug
Including a plnkr
http://embed.plnkr.co/rHhdAn/
How do I success fully implement a fallback image within this.
FYI: This will go inside a ngFor statement