resolve method takes into account if the view comes wrapped