How to call one controller function from another controller in AngularJS?

Posted by Jessica Taylor | Updated on

Want to know how to call one controller function from another controller in AngularJS? There are multiple ways how to communicate between controllers.

The best one is probably sharing a service:

Another way is emitting an event on scope:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers