How to Share Data Between AngularJS Controllers

| Last Updated: | In: Angular JS, Freebies


There are several ways to share data between AngularJS controllers: 1) Use AngularJS $rootScope without creating Service 2) Use depending parent and child relation between controller scopes. 3) Use AS keyword (If you are using angularJS 2.0, then you can use the “As” keyword which will pass your data from one controller to another controller) …