Skip to main content

Documentation Index

Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt

Use this file to discover all available pages before exploring further.

Description

Transcludes the content and sets the scope of the transcluded content to that of the parent directive. ngTransclude would set the scope of the transcluded content to the scope of the view. More information on the reason for this directive can be found here: https://github.com/angular/angular.js/issues/7874#issuecomment-47644966

Usage

as element:
<ng:inject>
</ng:inject>
as attribute
<ANY ng-inject>
   ...
</ANY>
as class
<ANY class="ng-inject">
   ...
</ANY>

Directive info

  • This directive creates new scope.