title: How to pass async variable in template (action) function?
body: <p>I need to pass async variable to the function.
  Something like this:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;div class="team" (click)="addToFavorite((match | async)?.id)"&gt;
  </code></pre>
  
  <p>And of course I have an error.</p>
  
  <blockquote>
    <p>Parser Error: Cannot have a pipe in an action expression.</p>
  </blockquote>
  
  <p>Maybe there is a way to transform async variable in JavaScript?</p>