Angular 17: Standalone components and not a root service

Discussão em 'Angular' iniciado por Anatoly Surgutov, Novembro 27, 2024.

  1. How can I provide a service that is not at the root of the application, and use the same instance between several components and other services? Not using providers in routes and not using ng module.

    I've tried Environment injector, but didn't get any result

    Continue reading...

Compartilhe esta Página