angular.scope.$new
Description
Creates a new scope
, that:
- is a child of the current scope
- will
$become
of type specified via constructor
Usage
angular.scope.$new(constructor);
Parameters
- constructor –
{function()}
– Constructor function of the type the new scope should assume.
Returns
{Object} The newly created child scope.