MCPcopy
hub / github.com/angular-ui/ui-router / getSetter

Function getSetter

test/angular/1.7/angular.js:25061–25067  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

25059 return formDirective;
25060
25061 function getSetter(expression) {
25062 if (expression === '') {
25063 //create an assignable expression, so forms with an empty name can be renamed later
25064 return $parse('this[""]').assign;
25065 }
25066 return $parse(expression).assign || noop;
25067 }
25068 }];
25069};
25070

Callers 1

formDirectiveFactoryFunction · 0.70

Calls 1

$parseFunction · 0.70

Tested by

no test coverage detected