wire up the view to get the right model's provider