Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 4e76d04

Browse files
mheveryIgorMinar
authored andcommitted
docs(compile/multidir): description for compile/multidir error
Closes #3459
1 parent 3fb80b4 commit 4e76d04

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/content/error/compile/multidir.ngdoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,15 @@
22
@name $compile:multidir
33
@fullName Multiple Directive Resource Contention
44
@description
5+
6+
This error occurs when multiple directives are applied to the same DOM element, and processing them would result in an collisions or unsupported configuration.
7+
8+
9+
To resolve this issue remove one of the directives which is causing the collision.
10+
11+
Example scenarios of multiple incompatible directives applied to the same element include:
12+
13+
* Multiple directives requesting `isolated scope`.
14+
* Multiple directives publishing a controller under the same name.
15+
* Multiple directives declared with the `transclusion` option.
16+
* Multiple directives attempting to define a `template` or `templateURL`.

0 commit comments

Comments
 (0)