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

Function markDirectiveScope

test/angular/1.7/angular.js:10729–10733  ·  view source on GitHub ↗
(directives, isolateScope, newScope)

Source from the content-addressed store, hash-verified

10727 // * if the directive itself asks for transclusion but it is at the root of a template and the original
10728 // element was replaced. See https://github.com/angular/angular.js/issues/12936
10729 function markDirectiveScope(directives, isolateScope, newScope) {
10730 for (var j = 0, jj = directives.length; j < jj; j++) {
10731 directives[j] = inherit(directives[j], {$$isolateScope: isolateScope, $$newScope: newScope});
10732 }
10733 }
10734
10735 /**
10736 * 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