MCPcopy Create free account
hub / github.com/angular-ui/ui-router / compute

Function compute

test/angular/1.4/angular.js:11375–11381  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

11373
11374 if (!mustHaveExpression || expressions.length) {
11375 var compute = function(values) {
11376 for (var i = 0, ii = expressions.length; i < ii; i++) {
11377 if (allOrNothing && isUndefined(values[i])) return;
11378 concat[expressionPositions[i]] = values[i];
11379 }
11380 return concat.join('');
11381 };
11382
11383 var getValue = function(value) {
11384 return trustedContext ?

Callers 1

$interpolateFunction · 0.70

Calls 1

isUndefinedFunction · 0.70

Tested by

no test coverage detected