docs(ngNonBindable): improve description

Closes #4391
This commit is contained in:
Pete Bacon Darwin 2013-10-12 15:38:27 -07:00
parent e79a20e1ca
commit 977b482b0b

View file

@ -7,14 +7,16 @@
* @priority 1000 * @priority 1000
* *
* @description * @description
* Sometimes it is necessary to write code which looks like bindings but which should be left alone * The `ngNonBindable` directive tells Angular not to compile or bind the contents of the current
* by angular. Use `ngNonBindable` to make angular ignore a chunk of HTML. * 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 * @element ANY
* *
* @example * @example
* In this example there are two location where a simple binding (`{{}}`) is present, but the one * In this example there are two locations where a simple interpolation binding (`{{}}`) is present,
* wrapped in `ngNonBindable` is left alone. * but the one wrapped in `ngNonBindable` is left alone.
* *
* @example * @example
<doc:example> <doc:example>