insert $scope.$apply in ss.rpc callback