Passing favorites list to the view from the controller