create the el for the view dynamically by passing a number of properties to the view when constructing it