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
124

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

Show your support

Clapping shows how much you appreciated Emily Marigold Klassen’s story.