Cannot have a pipe in an action expression ? : <p>I'm using this statement in my html template:</p>

<pre><code>[(ngModel)]="tempProduct.unitprice | number : '1.2-2'"
</code></pre>

<p>But when i run it im getting this error in console:</p>

<blockquote>
  <p>Cannot have a pipe in an action expression...</p>
</blockquote>

<p>I need to use this number pipe but with <code>[(ngModel)]</code> or i will not get data. Any suggestion how can i fix this?? I tried with <code>[ngModel]</code> but when i do that i dont get data, its empty in html template.</p>
