Can a component provide a service (or something provideable) based on its inputs? In my case my component uses a service based on another firebase service and I want component to provide a new firebase service with a child, so the other service will access only the child part in the db.
In my current solution my component calls the service's setChild function to set the child, but I'm curious if it is possible in the way described above.
Thanks, Tamas