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

Function getSetter

test/angular/1.5/angular.js:23175–23181  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

23173 return formDirective;
23174
23175 function getSetter(expression) {
23176 if (expression === '') {
23177 //create an assignable expression, so forms with an empty name can be renamed later
23178 return $parse('this[""]').assign;
23179 }
23180 return $parse(expression).assign || noop;
23181 }
23182 }];
23183};
23184

Callers 1

formDirectiveFactoryFunction · 0.70

Calls 1

$parseFunction · 0.70

Tested by

no test coverage detected