DEV Community

Discussion on: Emulating standalone components using single component Angular modules (SCAMs)

Collapse
 
weirdyang profile image
weirdyang

How do you share services?

Collapse
 
layzee profile image
Lars Gyrup Brink Nielsen This is Angular

Usually using tree-shakable providers. Or just importing them and providing them at the component level depending on the use case.

Collapse
 
weirdyang profile image
weirdyang

Thanks!