how_to_build_your_own_team_chat_in_five_days icon indicating copy to clipboard operation
how_to_build_your_own_team_chat_in_five_days copied to clipboard

Access other module service

Open zeeshanjan82 opened this issue 9 years ago • 1 comments

I have a question, I need to understand how can I access the ReverseNameService which is in UserListModule in the user.controller of the mainApp module.

zeeshanjan82 avatar Jul 06 '15 13:07 zeeshanjan82

Since the mainApp module lists the user list module as a dependency, you can inject the ReverseNameService, similar to how it is done in the user list directive.

fdietz avatar Jul 13 '15 09:07 fdietz