set
scope.set(key, value [, options])
Tries to set key
in the scope to value
.
scope.set( "person.first.name", "Justin" );
Parameters
- key
{key}
:A dot-separated path. Use
"."
if you have a property name that includes a dot. - value
{*}
:The value to be set.