Detect when IMG element has loaded in Angular 2+
<p>I am using <code>Angular 2</code> and I need to detect if an image has loaded in an image tag. </p>

<p>Is there an event for that?</p>

<p>Something like this :</p>

<pre><code>&lt;img [src]="imagesource" [loaded]="dosomething()"&gt;
</code></pre>