title: How to call functions from html code using express-handlebars?
body: <p>I´m sure this is a very basic question, but I´m starting with MEAN stack using <code>express-handlebars</code> and still launching my skills.</p>
  
  <p>I´m coming from PHP world and I use to call PHP functions from insede my <code>phtml</code> code, as:</p>
  
  <pre><code>   &lt;p&gt;&amp;copy; 2012 - &lt;?= date('Y') ?&gt; by ACME LLC. All rights reserved.&lt;/p&gt;
  </code></pre>
  
  <p>That would get me the current year and print the following output:</p>
  
  <p><strong>(C) 2012 - 2016by ACME LLC. All rights reserved.</strong></p>
  
  <p>I know handlebars <code>{{ }}</code> would print any context variable, but don´t want to put the current year in the conetext to be printable. </p>
  
  <p>I´ve seen also handlebars helpers, but I´m not sure this is the way to go.</p>
  
  <p>Help appreciated.</p>