aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSekib Omazic2014-03-07 23:56:07 +0100
committerIgor Minar2014-03-11 10:35:59 -0700
commit9223215add0f6c6e41b3a1588ce00eaecc9b9e45 (patch)
tree867865aca74b4a5e2c83e422c99ec41caf3cb7e6
parent309cfd109fe5d2c571c820694e042a6ab6c41e23 (diff)
downloadangular.js-9223215add0f6c6e41b3a1588ce00eaecc9b9e45.tar.bz2
docs($sce): correct typo
`consititute` -> `constitute` Typo fixed Closes #6607
-rw-r--r--src/ng/sce.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/sce.js b/src/ng/sce.js
index 612edd12..0f60521b 100644
--- a/src/ng/sce.js
+++ b/src/ng/sce.js
@@ -521,7 +521,7 @@ function $SceDelegateProvider() {
* |---------------------|----------------|
* | `$sce.HTML` | For HTML that's safe to source into the application. The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. |
* | `$sce.CSS` | For CSS that's safe to source into the application. Currently unused. Feel free to use it in your own directives. |
- * | `$sce.URL` | For URLs that are safe to follow as links. Currently unused (`<a href=` and `<img src=` sanitize their urls and don't consititute an SCE context. |
+ * | `$sce.URL` | For URLs that are safe to follow as links. Currently unused (`<a href=` and `<img src=` sanitize their urls and don't constitute an SCE context. |
* | `$sce.RESOURCE_URL` | For URLs that are not only safe to follow as links, but whose contens are also safe to include in your application. Examples include `ng-include`, `src` / `ngSrc` bindings for tags other than `IMG` (e.g. `IFRAME`, `OBJECT`, etc.) <br><br>Note that `$sce.RESOURCE_URL` makes a stronger statement about the URL than `$sce.URL` does and therefore contexts requiring values trusted for `$sce.RESOURCE_URL` can be used anywhere that values trusted for `$sce.URL` are required. |
* | `$sce.JS` | For JavaScript that is safe to execute in your application's context. Currently unused. Feel free to use it in your own directives. |
*