Skip to content

$scope

Executes a code field inside a different data scope.

Parameters

NameDescriptionEnforcedDefault Value
CodeCode to be executed inside the new scope.YesNone
NewWhether create a new scope or inherit data from the parent scope.Nofalse

Example

$scope[code;new?]

Function Aliases

  • $block