title: Pass data within a function parameter from HTML to typescript class without any event binding
body: <p>I am looping some objects using *ngFor in HTML, and within a div, I want to call a function having parameters and within this parameter, I also want to send some data.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div *ngFor="let user of users"&gt;
   &lt;div [(ngModel)]="`calDuration`(user.dateCreated)"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>Component class</strong></p>
  
  <pre><code>calDuration(value){
  
  ......logic here......
  
  }
  </code></pre>
  
  <p>but i got an error :</p>
  
  <blockquote>
    <p>Parser Error: Unexpected token '=' at column 30 in [calDuration(user.dateCreated)=$event] </p>
  </blockquote>