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

Function markDirectiveScope

test/angular/1.6/angular.js:10205–10209  ·  view source on GitHub ↗
(directives, isolateScope, newScope)

Source from the content-addressed store, hash-verified

10203 // * if the directive itself asks for transclusion but it is at the root of a template and the original
10204 // element was replaced. See https://github.com/angular/angular.js/issues/12936
10205 function markDirectiveScope(directives, isolateScope, newScope) {
10206 for (var j = 0, jj = directives.length; j < jj; j++) {
10207 directives[j] = inherit(directives[j], {$$isolateScope: isolateScope, $$newScope: newScope});
10208 }
10209 }
10210
10211 /**
10212 * looks up the directive and decorates it with exception handling and proper parameters. We

Callers 2

applyDirectivesToNodeFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls 1

inheritFunction · 0.70

Tested by

no test coverage detected