spUtil - refresh(Object $scope)

Calls the server and replaces the current options and data with the server response.

Calling spUtil.refresh() is similar to calling server.refresh(). However, when you call spUtil.refresh(), you can define the $scope object.

Table 1. Parameters
Name Type Description
$scope Object The scope defined for the update.
Table 2. Returns
Type Description
Object The updated options and data objects.