Allow to pass view to viewTemplate function