3
I wonder if it is correct to use the $rootscope in this way?
$scope.buscaChamados = function() {
modelSac.buscaChamados()
.success(function(data, res) {
$rootScope.chamadosSistema = data;
});
}