for {{ item.param }}, allow param to be a function