i have a problem with global variables in Angular.js framework, there are controllers handling array of objects in my application. So i need to update this variable in all controllers when i make 'GET' request to the server for a new data.
I tried do it with services, but the array changes only in controller which initiates get request.
How i can do this?
$rootScopethen changes will be reflected every where.