diff --git a/docs/content/error/$compile/noslot.ngdoc b/docs/content/error/$compile/noslot.ngdoc new file mode 100644 index 000000000000..a882ddde0e7a --- /dev/null +++ b/docs/content/error/$compile/noslot.ngdoc @@ -0,0 +1,38 @@ +@ngdoc error +@name $compile:noslot +@fullName No matching slot in parent directive +@description + +This error occurs when declaring a specific slot in a {@link ng.ngTransclude `ngTransclude`} +which does not map to a specific slot defined in the transclude property of the directive. + +In this example the template has declared a slot missing from the transclude definition. +This example will generate a noslot error. +```js +var componentConfig = { + template: '