Fixed injectService to return the service not invoke it if it's not a string