How to detect changes in the src property for an image object from a directive in [Angular 2]?
<p>I have an img object with a src that will change after my http request.</p>

<p>How can I detect a change in the property for this img inside my-custom-directive?</p>

<pre><code>&lt; img my-custom-directive [src]="user.photo" /&gt;
</code></pre>