title: AngularJS - Call function in HTML
body: <p>I have made a function <code>getAge()</code> in my <code>custom.js</code>. This function needs to be called in my HTML page.</p>
  
  <p>So what i tried is like this :-</p>
  
  <pre><code>&lt;td&gt;{{getAge(user.basicinformation[0].dateofbirth)}}&lt;/td&gt;
  </code></pre>
  
  <p>I can see no results. </p>
  
  <p>How to call function in HTML?</p>