If it is provided at the component level, it is a singleton only to that component’s tree. Another catch: If your component tree root is a page/view in a router outlet, it creates a new service every time you switch pag
Converting an AngularJS 1.5 app to Angular 4
Cecelia Wren

Ooooooh, I was wondering about this when I was crawling through kendo’s source… there’s a service for selections in the grid, and it wouldn’t make sense of it was shared. I also only used angular 1.2 before, so services were pretty much always global

Like what you read? Give Emily Marigold Klassen a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.