标签: lazy-loading angular-services angular11
我是 angular 的新手。我想知道如何将服务范围限定到特定模块而不是注入根模块。我遵循了 Official Documentation,但最终出现了一些错误。
Stackblitz 链接:https://stackblitz.com/edit/angular-scoping-service-2-custom-module?file=src%2Fapp%2Ffeature%2Ffeature.component.ts
如果我做错了什么,请告诉我。