title: Angular - Pass the value of a function to mailto
body: <p>I am not understanding on how to pass the values from a function to mailto inside a link.</p>
  
  <p>COMPONENT</p>
  
  <pre><code>  email() {
      for(let i = 0; i &lt; this.clientInfo().length; i++) {
        this.uEmail = this.clientInfo()[i].email + ',';
        this.uEmails += this.uEmail;
      }
    }
  </code></pre>
  
  <p>HTML</p>
  
  <pre><code>&lt;a href="mailto:{{this.uEmails}}"&gt;Email&lt;/a&gt;
  </code></pre>
  
  <p>How can I invoke the email() function to get the values of uEmails without having to use something like a button click to invoke the email() function?</p>