<div>     <span>{{ $customFunction('custom param') }}</span> </div>

Read more of this post