add event dynamically and enable event only when need in angular2
<p>I want to add event dynamically in tag.
I want to enable onblur event only when my conditon is true.</p>

<p>for example,</p>

<pre><code>&lt;input *ngIf='expression?(blur)=callFun():nothing'&gt;
</code></pre>

<p>Any way to do this kind of thing in angular2.</p>