Reputation: 57
I have to call a method from controllerA in module A in controllerB in module B. I don't want to use $broadcast or $emit. Nor do I want to use $inject.
controllerA
module A
controllerB
module B
$broadcast
$emit
$inject
Please help with another way to achieve this.
Upvotes: 0
Views: 97
Reputation: 902
This link answers your question.
Upvotes: 1