Move resourcePath output variable into resource-popover model.