angular.scope.$new

Description

Creates a new child scope. The new scope can optionally behave as a controller. The parent scope will propagate the $digest() and $digest() events. The scope can be removed from the scope hierarchy using $destroy().

$destroy() must be called on a scope when it is desired for the scope and its child scopes to be permanently detached from the parent and thus stop participating in model change detection and listener notification by invoking.

Usage

angular.scope.$new([Class], curryArguments);

Parameters

Returns

{Object}

The newly created child scope.