On my webpage, there is a table and two charts coming from three different controllers. I am looking for a way to refresh all of them simultaneously by clicking on a single refresh button. This will allow the data to be fetched from the webservice again and update the page accordingly.
I have attempted a few ideas:
$scope.refreshChart = function(){
alert("refresh");
// $scope.dashloader = true;
$state.go('plm.creator');
// $scope.dashloader = false;
console.log("On page refresh called; not from dashboard page");
}
Unfortunately, these solutions are not meeting my expectations. Any assistance would be greatly appreciated.