From 1fc2fdddbf618f4e5c87c24c6f1208cac5e76807 Mon Sep 17 00:00:00 2001 From: Dominick Date: Wed, 13 May 2015 23:53:40 -0700 Subject: [PATCH 1/3] docs(guide/Using $location): format parameter name Format parameter name as code. (It's used elsewhere in this doc page in code examples, as code itself.) --- docs/content/guide/$location.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guide/$location.ngdoc b/docs/content/guide/$location.ngdoc index 9d996ba90ee8..114c07917ab6 100644 --- a/docs/content/guide/$location.ngdoc +++ b/docs/content/guide/$location.ngdoc @@ -693,7 +693,7 @@ A path should always begin with forward slash (`/`); the `$location.path()` sett forward slash if it is missing. Note that the `!` prefix in the hashbang mode is not part of `$location.path()`; it is actually -hashPrefix. +`hashPrefix`. ## Crawling your app From bbb6b3477414162fe243356d65177c3cffaaad2e Mon Sep 17 00:00:00 2001 From: Dominick Date: Thu, 14 May 2015 11:12:03 -0700 Subject: [PATCH 2/3] grammar fix contraction "it's" --> possessive "its" --- docs/content/guide/i18n.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guide/i18n.ngdoc b/docs/content/guide/i18n.ngdoc index f23574b15f0e..7e70d5196cf3 100644 --- a/docs/content/guide/i18n.ngdoc +++ b/docs/content/guide/i18n.ngdoc @@ -305,7 +305,7 @@ matching is **case-sensitive**. #### Selection Keywords -Selection keywords are simple words like "male" and "female". The keyword, "other", and it's +Selection keywords are simple words like "male" and "female". The keyword, "other", and its corresponding message are required while others are optional. It is used when the Angular expression does not match (case-insensitively) any of the other keywords specified. From f4ff94e5e7aa9f2857c14390c91173d4b9b5c38f Mon Sep 17 00:00:00 2001 From: Dominick Date: Thu, 14 May 2015 11:29:42 -0700 Subject: [PATCH 3/3] Update security.ngdoc remove errant word. --- docs/content/guide/security.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guide/security.ngdoc b/docs/content/guide/security.ngdoc index 65294566a31e..ea0f4ad096dc 100644 --- a/docs/content/guide/security.ngdoc +++ b/docs/content/guide/security.ngdoc @@ -39,7 +39,7 @@ In general, we recommend against this because it can create unintended XSS vecto However, it's ok to mix server-side templating in the bootstrap template (`index.html`) as long as user input cannot be used on the server to output html that would then be processed by Angular -in a way that would cause allow for arbitrary code execution. +in a way that would allow for arbitrary code execution. For instance, you can use server-side templating to dynamically generate CSS, URLs, etc, but not for generating templates that are bootstrapped/compiled by Angular.