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

Function markDirectiveScope

test/angular/1.4/angular.js:8624–8628  ·  view source on GitHub ↗
(directives, isolateScope, newScope)

Source from the content-addressed store, hash-verified

8622 // * if the directive itself asks for transclusion but it is at the root of a template and the original
8623 // element was replaced. See https://github.com/angular/angular.js/issues/12936
8624 function markDirectiveScope(directives, isolateScope, newScope) {
8625 for (var j = 0, jj = directives.length; j < jj; j++) {
8626 directives[j] = inherit(directives[j], {$$isolateScope: isolateScope, $$newScope: newScope});
8627 }
8628 }
8629
8630 /**
8631 * 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