Shriyam
Shriyam

Reputation: 57

Is it possible to inject a controller from another module into a controller?

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.

Please help with another way to achieve this.

Upvotes: 0

Views: 97

Answers (1)

Gaurav
Gaurav

Reputation: 902

This link answers your question.

Upvotes: 1

Related Questions