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.
---
docs/examples/book.html | 2 ++
docs/examples/chapter.html | 3 +++
2 files changed, 5 insertions(+)
create mode 100644 docs/examples/book.html
create mode 100644 docs/examples/chapter.html
(limited to 'docs/examples')
diff --git a/docs/examples/book.html b/docs/examples/book.html
new file mode 100644
index 00000000..10d4dd91
--- /dev/null
+++ b/docs/examples/book.html
@@ -0,0 +1,2 @@
+controller: {{name}}
+Book Id: {{params.bookId}}
diff --git a/docs/examples/chapter.html b/docs/examples/chapter.html
new file mode 100644
index 00000000..5f11f704
--- /dev/null
+++ b/docs/examples/chapter.html
@@ -0,0 +1,3 @@
+controller: {{name}}
+Book Id: {{prams.bookId}}
+Chapter Id: {{params.chapterId}}
--
cgit v1.2.3