bind values from controller to template