aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples
diff options
context:
space:
mode:
authorVojta Jina2011-07-02 01:38:03 +0200
committerVojta Jina2011-07-13 11:49:16 +0200
commit7e2e7b07b6a79a64891f3f2408fb6c325a499e51 (patch)
treebf39157ba4ec22368abd8f0a924c37c21693d0dd /docs/examples
parentce80576e0b8ac9ed5a5b1f1a4dbc2446434a0002 (diff)
downloadangular.js-7e2e7b07b6a79a64891f3f2408fb6c325a499e51.tar.bz2
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.
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/book.html2
-rw-r--r--docs/examples/chapter.html3
2 files changed, 5 insertions, 0 deletions
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}}<br />
+Book Id: {{params.bookId}}<br />
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}}<br />
+Book Id: {{prams.bookId}}<br />
+Chapter Id: {{params.chapterId}}