aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdennie2013-10-19 09:02:33 -0400
committerPete Bacon Darwin2013-10-26 20:14:08 +0100
commit81d5bc860dde93be0f6be3193c23458a2ae9ff5c (patch)
tree779c181c6a34bf4c35b9f06bcef8055d29793e75
parent9f2c8e935a28fce0e898a2739c389e3f8cbc08a5 (diff)
downloadangular.js-81d5bc860dde93be0f6be3193c23458a2ae9ff5c.tar.bz2
docs(error/compile/tplrt): clarify and grammar
Closes #4503
-rw-r--r--docs/content/error/compile/tplrt.ngdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/error/compile/tplrt.ngdoc b/docs/content/error/compile/tplrt.ngdoc
index 39e3271f..95a0cd65 100644
--- a/docs/content/error/compile/tplrt.ngdoc
+++ b/docs/content/error/compile/tplrt.ngdoc
@@ -4,9 +4,9 @@
@description
When a directive is declared with `template` (or `templateUrl`) and `replace` mode on, the template must have exactly one root element.
-That is, the text of the template property or the referenced by the templateUrl must be contained within an html elemen.
-For example, '<p>blah blah blah</p>' instead of simply 'blah blah blah'.
-Otherwise the replacement operation would result in a single element (the directive) being replaced with multiple elements or nodes, which is unsupported and not commonly needed in practice.
+That is, the text of the template property or the content referenced by the templateUrl must be contained within a single html element.
+For example, '<p>blah <em>blah</em> blah</p>' instead of simply 'blah <em>blah</em> blah'.
+Otherwise, the replacement operation would result in a single element (the directive) being replaced with multiple elements or nodes, which is unsupported and not commonly needed in practice.
For example a directive with definition: