Hello,
Which clause(s) are used by a module definition that uses a service?
Could you please explain why we do not need exports this service in the module definition?
Thank you,
Silvia.
About Question enthuware.ocpjp.v21.2.3445 :
Moderator: admin
-
silvia001
- Posts: 1
- Joined: Wed Jun 03, 2026 11:39 pm
- Contact:
-
admin
- Site Admin
- Posts: 10464
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v21.2.3445 :
The problem statement is asking about the module that "uses" a service. The module that uses a service doesn't export the service that is why it doesn't need the exports directive. It needs only the requires and uses directives.
The question includes a detailed explanation and also provides an example. Please go through it.
The question includes a detailed explanation and also provides an example. Please go through it.