aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error
diff options
context:
space:
mode:
authorKen Sheedlo2013-08-08 10:30:10 -0700
committerIgor Minar2013-08-08 10:56:55 -0700
commitcaa71c2772284c3d108c41ac120491b7137fabf7 (patch)
tree3f760f6de5be064a3f3887bdfc01d6faf208bb21 /docs/content/error
parent934e569ccab7bd5ec5e3e1bcc534a855583b6e5f (diff)
downloadangular.js-caa71c2772284c3d108c41ac120491b7137fabf7.tar.bz2
docs(minerr): add description for $compile:utrat
Closes #3507
Diffstat (limited to 'docs/content/error')
-rw-r--r--docs/content/error/compile/utrat.ngdoc32
1 files changed, 31 insertions, 1 deletions
diff --git a/docs/content/error/compile/utrat.ngdoc b/docs/content/error/compile/utrat.ngdoc
index 64ffa223..a6c647bb 100644
--- a/docs/content/error/compile/utrat.ngdoc
+++ b/docs/content/error/compile/utrat.ngdoc
@@ -1,4 +1,34 @@
@ngdoc error
@name $compile:utrat
-@fullName Unterminated Attribute
+@fullName Unterminated Directive
@description
+
+This error occurs when using multi-element directives and a `directive-start` attribute fails to form a matching pair with a corresponding `directive-end` attribute.
+A `directive-start` should have a matching `directive-end` on a sibling node in the DOM. For instance,
+
+```
+<table>
+ <tr ng-repeat-start="item in list">I get repeated</tr>
+ <tr ng-repeat-end>I also get repeated</tr>
+</table>
+```
+
+is a valid example.
+
+This error can occur in several different ways. One is by leaving out the `directive-end` attribute, like so:
+
+```
+<div>
+ <span foo-start></span>
+</div>
+```
+
+Another is by nesting a `directive-end` inside of `directive-start`, or vice versa:
+
+```
+<div>
+ <span foo-start><span foo-end></span></span>
+</div>
+```
+
+To avoid this error, make sure each `directive-start` you use has a matching `directive-end` on a sibling node in the DOM.