title: image binding in angular 5 equivalent to BitmapImage binding in silverlight c#
body: <p>I'm trying to move my project from silverlight to Angular5. I need to show image on the UI. I'm using the same service(in c#) which i used for silverlight and it returns a byte[] along with a bunch of data as a class object. How to convert it into a Bitmap Image or anything and how to bind this to the <code>&lt;img class="immg-up img-ht-sp-2" src="data:image/png;base64," onerror="this.src='./images/image df.png'" /&gt;</code> in html. I'm using typescript and also need to know the equivalent type of byte[] in c#.</p>