mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 15:40:22 +00:00
12 lines
565 B
Text
12 lines
565 B
Text
@ngdoc error
|
|
@name ngTransclude:orphan
|
|
@fullName Orphan ngTransclude Directive
|
|
@description
|
|
|
|
Occurs when an `ngTransclude` occurs without a transcluded ancestor element.
|
|
|
|
This error often occurs when you have forgotten to set `transclude: true` in some directive definition, and then used `ngTransclude` in the directive's template.
|
|
|
|
To resolve, either remove the offending `ngTransclude` or check that `transclude: true` is included in the intended directive definition.
|
|
|
|
Consult the API documentation for {@link guide/directive writing directives} to learn more.
|