From 7874a4d007f6e664f9d26e36ad4ab6e151b51ed7 Mon Sep 17 00:00:00 2001
From: Igor Minar
Date: Thu, 21 Nov 2013 07:29:18 -0800
Subject: docs(guide/migration): fix typo ngHtmlBind -> ngBindHtml
---
docs/content/guide/migration.ngdoc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/content/guide/migration.ngdoc b/docs/content/guide/migration.ngdoc
index 6476247c..9d230556 100644
--- a/docs/content/guide/migration.ngdoc
+++ b/docs/content/guide/migration.ngdoc
@@ -35,7 +35,7 @@ below should still apply, but you may want to consult the
{@link guide/migration#resource-methods-return-the-promise Resource methods return the promise}
{@link guide/migration#resource-promises-are-resolved-with-the-resource-instance Resource promises are resolved with the resource instance}
{@link guide/migration#$locationsearch-supports-multiple-keys $location.search supports multiple keys}
- {@link guide/migration#nghtmlbindunsafe-has-been-removed-and-replaced-by-nghtmlbind ngHtmlBindUnsafe has been removed and replaced by ngHtmlBind}
+ {@link guide/migration#ngbindhtmlunsafe-has-been-removed-and-replaced-by-ngbindhtml ngBindHtmlUnsafe has been removed and replaced by ngBindHtml}
{@link guide/migration#form-names-that-are-expressions-are-evaluated Form names that are expressions are evaluated}
{@link guide/migration#hasownproperty-disallowed-as-an-input-name hasOwnProperty disallowed as an input name}
{@link guide/migration#directives-order-of-postlink-functions-reversed Directives: Order of postLink functions reversed}
@@ -376,11 +376,11 @@ passing it to `$location`.
See [80739409](https://github.com/angular/angular.js/commit/807394095b991357225a03d5fed81fea5c9a1abe).
-## ngHtmlBindUnsafe has been removed and replaced by ngHtmlBind
+## ngBindHtmlUnsafe has been removed and replaced by ngBindHtml
-`ngHtmlBind` which has been moved from `ngSanitize` module to the core `ng` module.
+`ngBindHtml` which has been moved from `ngSanitize` module to the core `ng` module.
-`ngBindHtml` provides `ngHtmlBindUnsafe` like
+`ngBindHtml` provides `ngBindHtmlUnsafe` like
behavior (evaluate an expression and innerHTML the result into the DOM) when bound to the result
of `$sce.trustAsHtml(string)`. When bound to a plain string, the string is sanitized via
`$sanitize` before being innerHTML'd. If the `$sanitize` service isn't available (`ngSanitize`
--
cgit v1.2.3