Consuming Function in controller


#1

I have a PuchDB database which I present with a list
each record contains two dates

is it possible to call a function like :
{{ myDiff (class.start, class.stop) }}

I am trying to get this to present “45 minutes” or however much time there would have been in difference…