From 3a624a7ff5ac0f02ab4957af76c2f98c1596e232 Mon Sep 17 00:00:00 2001 From: Fred Sauer Date: Sun, 21 Oct 2012 12:56:55 -0700 Subject: docs(guide/location): fix table formatting Fix table formatting so headings are bold, rows are separated by lines, and rows have :hover style --- .../guide/dev_guide.services.$location.ngdoc | 138 +++++++++++---------- 1 file changed, 71 insertions(+), 67 deletions(-) diff --git a/docs/content/guide/dev_guide.services.$location.ngdoc b/docs/content/guide/dev_guide.services.$location.ngdoc index 17d38b14..8270b898 100644 --- a/docs/content/guide/dev_guide.services.$location.ngdoc +++ b/docs/content/guide/dev_guide.services.$location.ngdoc @@ -23,13 +23,13 @@ changes to $location are reflected into the browser address bar. ## Comparing $location to window.location -
| - | window.location | -$location service | ++ | window.location | +$location service |
|---|
| - | Hashbang mode | -HTML5 mode | ++ | Hashbang mode | +HTML5 mode |
|---|
| Navigation inside the app | -Change to | -|
| $location.href = value $location.hash = value $location.update(value) + + Navigation inside the app |
+ Change to |
+ |
| $location.href = value $location.hash = value $location.update(value) $location.updateHash(value) |
- $location.path(path).search(search) | -|
| $location.hashPath = path | -$location.path(path) | -|
| $location.hashSearch = search | -$location.search(search) | -|
| Navigation outside the app | -Use lower level API | -|
| $location.href = value $location.update(value) |
- $window.location.href = value | -|
| $location[protocol | host | port | path | search] | -$window.location[protocol | host | port | path | search] | -|
| Read access | -Change to | -|
| $location.hashPath | -$location.path() | -|
| $location.hashSearch | -$location.search() | -|
| $location.href $location.protocol $location.host $location.port $location.path(path).search(search) |
+ ||
| $location.hashPath = path | +$location.path(path) | +|
| $location.hashSearch = search | +$location.search(search) | +|
| Navigation outside the app | +Use lower level API | +|
| $location.href = value $location.update(value) |
+ $window.location.href = value | +|
| $location[protocol | host | port | path | search] | +$window.location[protocol | host | port | path | search] | +|
| Read access | +Change to | +|
| $location.hashPath | +$location.path() | +|
| $location.hashSearch | +$location.search() | +|
| $location.href $location.protocol $location.host $location.port $location.hash |
- $location.absUrl() $location.protocol() $location.host() $location.port() $location.absUrl() $location.protocol() $location.host() $location.port() $location.path() + $location.search() |
- |
| $location.path $location.search |
- $window.location.path $window.location.search |
- |
| $location.path $location.search |
+ $window.location.path $window.location.search |
+