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

Function getSetter

test/angular/1.4/angular.js:21051–21057  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

21049 return formDirective;
21050
21051 function getSetter(expression) {
21052 if (expression === '') {
21053 //create an assignable expression, so forms with an empty name can be renamed later
21054 return $parse('this[""]').assign;
21055 }
21056 return $parse(expression).assign || noop;
21057 }
21058 }];
21059};
21060

Callers 1

formDirectiveFactoryFunction · 0.70

Calls 1

$parseFunction · 0.70

Tested by

no test coverage detected