Running the controller function on tab entry?

Not sure if that title is phrased right, but basically I’ve set up a controller on the dashboard tab to go to local storage, get certain items there, and add them to $scope. On other tabs, I add items to local storage. When I go back to the dashboard, it is not updated. What’s the best way to keep the dashboard updated when items are added? When the items are actually added or running a function every time I load the dashboard page?

The most common and recommend solution for communicating across modules/controllers is to use services.