From 7e2e7b07b6a79a64891f3f2408fb6c325a499e51 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Sat, 2 Jul 2011 01:38:03 +0200 Subject: doc($route): fix $route example and couple of typos Rewrite $route example a bit, as it required $location and $route services to be eager published in the root scope. Fix small typos in formatter and ng:options docs. --- src/service/route.js | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'src/service') diff --git a/src/service/route.js b/src/service/route.js index 19fc81bf..b04c5ebb 100644 --- a/src/service/route.js +++ b/src/service/route.js @@ -22,13 +22,16 @@ - Chose: - Moby | - Moby: Ch1 | - Gatsby | - Gatsby: Ch4
- -
$location={{$location}}
-
$route.current.template={{$route.current.template}}
-
$route.current.params={{$route.current.params}}
-
$route.current.scope.name={{$route.current.scope.name}}
-
- +
+ Choose: + Moby | + Moby: Ch1 | + Gatsby | + Gatsby: Ch4
+ $location.hashPath: +
$route.current.template = {{$route.current.template}}
+
$route.current.params = {{$route.current.params}}
+
$route.current.scope.name = {{$route.current.scope.name}}
+
+ +
-- cgit v1.2.3