Each object is expanded with the following additional service properties and methods:
readonly $root: IRoot
Root object reference (IRoot).
readonly $ctrl: IController
Controller object reference (IController).
$empty(): IElement
Cleans up an object. Cleaning up an object means setting all of its properties to their default values. Cleaning is recursive. This means that all nested objects will be cleaned up as well.