bind data with view template