diff options
| author | Shai Reznik | 2014-02-18 01:45:30 +0200 | 
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-18 06:36:34 +0000 | 
| commit | b6f3d4007a9acc3da182c2f8877ceaa7500f23ab (patch) | |
| tree | 0d2d9a2aa67570831436675f06b6fb6df187dd5d /docs/content | |
| parent | 774b2adb89d0d4334ce707ddd456fe96e8546e97 (diff) | |
| download | angular.js-b6f3d4007a9acc3da182c2f8877ceaa7500f23ab.tar.bz2 | |
docs(guide/compiler): remove innacurate statement
The $compile service accepts string as a value and wraps it if
needed, so this statement isn't correct, at least by the source
code.
Closes #6301
Diffstat (limited to 'docs/content')
| -rw-r--r-- | docs/content/guide/compiler.ngdoc | 4 | 
1 files changed, 0 insertions, 4 deletions
| diff --git a/docs/content/guide/compiler.ngdoc b/docs/content/guide/compiler.ngdoc index 0a869a10..631e4b9b 100644 --- a/docs/content/guide/compiler.ngdoc +++ b/docs/content/guide/compiler.ngdoc @@ -158,10 +158,6 @@ by template data merge.  It's important to note that Angular operates on DOM nodes rather than strings. Usually, you don't  notice this restriction because when a page loads, the web browser parses HTML into the DOM automatically. -However it's important to keep this in mind when calling `$compile` yourself, because passing it a string -will fail. Instead, use `angular.element` to convert a string to DOM before passing elements into -Angular's `$compile` service. -  HTML compilation happens in three phases:    1. {@link ng.$compile `$compile`} traverses the DOM and matches directives. | 
