aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive
diff options
context:
space:
mode:
authorPete Bacon Darwin2013-10-12 15:38:27 -0700
committerPete Bacon Darwin2013-10-14 07:20:31 +0100
commit977b482b0b9ee41fee7feb8d1016f3d86f54abc7 (patch)
tree633c6698a841797bf34482c455a38d4e4c19b6aa /src/ng/directive
parente79a20e1ca2e725100acedc0ba5ac014fea0f412 (diff)
downloadangular.js-977b482b0b9ee41fee7feb8d1016f3d86f54abc7.tar.bz2
docs(ngNonBindable): improve description
Closes #4391
Diffstat (limited to 'src/ng/directive')
-rw-r--r--src/ng/directive/ngNonBindable.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ng/directive/ngNonBindable.js b/src/ng/directive/ngNonBindable.js
index de2b4bee..59977483 100644
--- a/src/ng/directive/ngNonBindable.js
+++ b/src/ng/directive/ngNonBindable.js
@@ -7,14 +7,16 @@
* @priority 1000
*
* @description
- * Sometimes it is necessary to write code which looks like bindings but which should be left alone
- * by angular. Use `ngNonBindable` to make angular ignore a chunk of HTML.
+ * The `ngNonBindable` directive tells Angular not to compile or bind the contents of the current
+ * DOM element. This is useful if the element contains what appears to be Angular directives and
+ * bindings but which should be ignored by Angular. This could be the case if you have a site that
+ * displays snippets of code. for instance.
*
* @element ANY
*
* @example
- * In this example there are two location where a simple binding (`{{}}`) is present, but the one
- * wrapped in `ngNonBindable` is left alone.
+ * In this example there are two locations where a simple interpolation binding (`{{}}`) is present,
+ * but the one wrapped in `ngNonBindable` is left alone.
*
* @example
<doc:example>