1 min readApr 23, 2019
Hi, I’m so sorry for replying after months, but I haven’t looked at Medium for a while, I hope that this comment will help you or any reader out there.
When you import it into AppModule with forRoot, all lazy modules will have access to the Services, and ONLY the AppModule will have access to components/directives/pipes. The other modules NEED to import SharedModule to access its components/directives/pipes, and do NOT need forRoot() because they don’t need services, which are app-scoped.