From f7fad29fd99cabdbb17fa02dc214de2354f93cdf Mon Sep 17 00:00:00 2001 From: Caitlin Potter Date: Sat, 15 Feb 2014 20:19:10 -0500 Subject: docs(bike-shed-migration): convert guide examples to ... This CL also contains style fixes as the converted scripts caused jshint to complain. --- .../guide/dev_guide.services.$location.ngdoc | 212 ++++++++++----------- 1 file changed, 104 insertions(+), 108 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 b3abd377..1d2b0e82 100644 --- a/docs/content/guide/dev_guide.services.$location.ngdoc +++ b/docs/content/guide/dev_guide.services.$location.ngdoc @@ -387,120 +387,116 @@ redirect to regular / hashbang url, as this conversion happens only during parsi = on page reload. In this examples we use `` - - - -
-
-

Browser with History API

-


- $location.protocol() = {{$location.protocol()}}
- $location.host() = {{$location.host()}}
- $location.port() = {{$location.port()}}
- $location.path() = {{$location.path()}}
- $location.search() = {{$location.search()}}
- $location.hash() = {{$location.hash()}}
- /base/first?a=b | - sec/ond?flag#hash | - external -
- -
-

Browser without History API

-


- $location.protocol() = {{$location.protocol()}}
- $location.host() = {{$location.host()}}
- $location.port() = {{$location.port()}}
- $location.path() = {{$location.path()}}
- $location.search() = {{$location.search()}}
- $location.hash() = {{$location.hash()}}
- /base/first?a=b | - sec/ond?flag#hash | - external -
-
- - - -
-
+ initEnv('html5'); + initEnv('hashbang'); + +
# Caveats -- cgit v1.2.3