scope must have a config object available