MCPcopy Index your code
hub / github.com/angular-ui/ui-router / getSetter

Function getSetter

test/angular/1.6/angular.js:24173–24179  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

24171 return formDirective;
24172
24173 function getSetter(expression) {
24174 if (expression === '') {
24175 //create an assignable expression, so forms with an empty name can be renamed later
24176 return $parse('this[""]').assign;
24177 }
24178 return $parse(expression).assign || noop;
24179 }
24180 }];
24181};
24182

Callers 1

formDirectiveFactoryFunction · 0.70

Calls 1

$parseFunction · 0.70

Tested by

no test coverage detected