injects components into the function with names from component.inject.alias