From ad5e42cf8229a40d8dfd3f3e178207b2af1cdb14 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 13 Oct 2011 14:42:41 -0700 Subject: docs($location): Html5 -> HTML5 --- docs/content/guide/dev_guide.services.$location.ngdoc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/content/guide/dev_guide.services.$location.ngdoc') diff --git a/docs/content/guide/dev_guide.services.$location.ngdoc b/docs/content/guide/dev_guide.services.$location.ngdoc index a76d542c..5bce8b0c 100644 --- a/docs/content/guide/dev_guide.services.$location.ngdoc +++ b/docs/content/guide/dev_guide.services.$location.ngdoc @@ -54,7 +54,7 @@ changes to $location are reflected into the browser address bar. - seamless integration with html5 API + seamless integration with HTML5 API no yes (with a fallback for legacy browsers) @@ -92,7 +92,7 @@ To configure the `$location` service, you define the `$locationConfig` service w with configuration properties: - **html5Mode**: {boolean}
- `true` - see Html5 mode
+ `true` - see HTML5 mode
`false` - see Hashbang mode
default: `false` @@ -159,11 +159,11 @@ encoded. `/path?search=a&b=c#hash`. The segments are encoded as well. -# Hashbang and Html5 Modes +# Hashbang and HTML5 Modes `$location` service has two configuration modes which control the format of the URL in the browser -address bar: **Hashbang mode** (the default) and the **Html5 mode** which is based on using the -Html5 {@link http://www.w3.org/TR/html5/history.html History API}. Applications use the same API in +address bar: **Hashbang mode** (the default) and the **HTML5 mode** which is based on using the +HTML5 {@link http://www.w3.org/TR/html5/history.html History API}. Applications use the same API in both modes and the `$location` service will work with appropriate URL segments and browser APIs to facilitate the browser URL change and history management. @@ -175,7 +175,7 @@ facilitate the browser URL change and history management. Hashbang mode - Html5 mode + HTML5 mode @@ -269,7 +269,7 @@ angular.service('$locationConfig', function() { }; }); -// in browser with html5 history support: +// in browser with HTML5 history support: // open http://host.com/#!/a -> rewrite to http://host.com/a // (replacing the http://host.com/#!/a history record) $location.path() == '/a' @@ -351,7 +351,7 @@ takes care of all relative link issues. **Otherwise you have to specify <base ### Sending links among different browsers -Because of rewriting capability in Html5 mode, your users will be able to open regular url links in +Because of rewriting capability in HTML5 mode, your users will be able to open regular url links in legacy browsers and hashbang links in modern browser: - Modern browser will rewrite hashbang URLs to regular URLs. -- cgit v1.2.3