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

Function markDirectiveScope

test/angular/1.5/angular.js:9685–9689  ·  view source on GitHub ↗
(directives, isolateScope, newScope)

Source from the content-addressed store, hash-verified

9683 // * if the directive itself asks for transclusion but it is at the root of a template and the original
9684 // element was replaced. See https://github.com/angular/angular.js/issues/12936
9685 function markDirectiveScope(directives, isolateScope, newScope) {
9686 for (var j = 0, jj = directives.length; j < jj; j++) {
9687 directives[j] = inherit(directives[j], {$$isolateScope: isolateScope, $$newScope: newScope});
9688 }
9689 }
9690
9691 /**
9692 * 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