I call a function
getData('serviceName', 'functionName')
That function looks like
function getData(service, functionName){
service.functionName(request, $root.thing).then()
}
But I always get service.function is not a function, how do I call them properly?