title: how to call an angular method in html?
body: <p>I have an angular function that returns an integer .All i want that is to call this function in html. How can I do that? </p>
  
  <p>I tried two way data binding in html like <code>{{functionname()}}</code> to call function but that didn't work.Here is my function:</p>
  
  <pre><code>getTodaysOrder(){
    return this.http.get(this.url+'/GetTodaysOrder').subscribe(data =&gt; { 
      this.formData = data as number;  
    });
  }
  </code></pre>