Inject viewData instead of empty array
Inject viewData instead of empty array

When data is not set inject the viewData to the subview, instead of an
empty array

slax0rr/BaseController,slax0rr/BaseController