in template, 
call method
 ex ) engine.getTemplate("${person.fun(\"hello\")}")