I have 2 controllers ConfigurationController.js and CartController.js. I want to pass configuration data to cart.
I tried using below:-
$rootScope.value1 = '---';
$rootScope.value2 = '---';
$rootScope.value3 = '---';
and so on...............
But it will increase $rootScope size in browser memory and even forth and back we have to manage $rootScope value.
Is any other way in AngularJS that I can handle same situation in better way.