My programming project consists of multiple modules, each containing services or controllers. There is a main module that acts as a connector for all the other modules.
var app = angular.module('abc', ['ngRoute','Trancontroller','Terminalcontroller','Settingcontroller','Usercontroller','Devicecontroller','Sidebar_service'])
I am currently facing the challenge of sharing data between controllers that belong to different modules. Any insights or guidance on how to achieve this would be greatly appreciated. Thank you in advance!