In AngularJS, I have a 3 controllers and in 3 controllers 1 & 2 controller data call the 3 rd controller how it is? using the number of controllers it is occured
Asked
Active
Viewed 29 times
0
-
3try this link http://stackoverflow.com/questions/12008908/angularjs-how-can-i-pass-variables-between-controllers – Jah Nov 22 '15 at 00:55
1 Answers
0
The best way to share data between controllers is to write a service. You can find more information about services at this link to the AngularJS documentation.

Lexi
- 324
- 2
- 10
- 18