Skip to content

Commit 7874a4d

Browse files
committed
docs(guide/migration): fix typo ngHtmlBind -> ngBindHtml
1 parent 1d50663 commit 7874a4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/guide/migration.ngdoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ below should still apply, but you may want to consult the
3535
<li>{@link guide/migration#resource-methods-return-the-promise Resource methods return the promise}</li>
3636
<li>{@link guide/migration#resource-promises-are-resolved-with-the-resource-instance Resource promises are resolved with the resource instance}</li>
3737
<li>{@link guide/migration#$locationsearch-supports-multiple-keys $location.search supports multiple keys}</li>
38-
<li>{@link guide/migration#nghtmlbindunsafe-has-been-removed-and-replaced-by-nghtmlbind ngHtmlBindUnsafe has been removed and replaced by ngHtmlBind}</li>
38+
<li>{@link guide/migration#ngbindhtmlunsafe-has-been-removed-and-replaced-by-ngbindhtml ngBindHtmlUnsafe has been removed and replaced by ngBindHtml}</li>
3939
<li>{@link guide/migration#form-names-that-are-expressions-are-evaluated Form names that are expressions are evaluated}</li>
4040
<li>{@link guide/migration#hasownproperty-disallowed-as-an-input-name hasOwnProperty disallowed as an input name}</li>
4141
<li>{@link guide/migration#directives-order-of-postlink-functions-reversed Directives: Order of postLink functions reversed}</li>
@@ -376,11 +376,11 @@ passing it to `$location`.
376376
See [80739409](https://github.com/angular/angular.js/commit/807394095b991357225a03d5fed81fea5c9a1abe).
377377

378378

379-
## ngHtmlBindUnsafe has been removed and replaced by ngHtmlBind
379+
## ngBindHtmlUnsafe has been removed and replaced by ngBindHtml
380380

381-
`ngHtmlBind` which has been moved from `ngSanitize` module to the core `ng` module.
381+
`ngBindHtml` which has been moved from `ngSanitize` module to the core `ng` module.
382382

383-
`ngBindHtml` provides `ngHtmlBindUnsafe` like
383+
`ngBindHtml` provides `ngBindHtmlUnsafe` like
384384
behavior (evaluate an expression and innerHTML the result into the DOM) when bound to the result
385385
of `$sce.trustAsHtml(string)`. When bound to a plain string, the string is sanitized via
386386
`$sanitize` before being innerHTML'd. If the `$sanitize` service isn't available (`ngSanitize`

0 commit comments

Comments
 (0)