Represents a reference to a subscription made with $watch or similar.
$watch
id
Type: readonly string
readonly string
constructor()
string
destroy
() => void
destroy()
Cancel the subscription.
Returns: void
void
onClose()
Function, that gets executed, when the subscription gets destroyed.
Last updated 3 years ago