dependency inject xhr into sxhr