2013-09-25 23:37:59 +00:00
@ngdoc error
@name ngTransclude:orphan
@fullName Orphan ngTransclude Directive
@description
2013-12-04 10:17:15 +00:00
Occurs when an `ngTransclude` occurs without a transcluded ancestor element.
2013-09-25 23:37:59 +00:00
2013-12-04 10:17:15 +00:00
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.
2013-09-25 23:37:59 +00:00
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.