bindData

Binds the data to the view.