My Angular Service (myService) is injected into multiple components and services through their constructors.
I want each usage of myService to have its own instance to ensure no data is shared among them.
Additionally, I would like myService to be initialized with a specific parameter that defines its behavior. Is there a way to achieve this in Angular?
Any suggestions or solutions are greatly appreciated!