add controller class public props to view template vars