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.
This commit is contained in:
Vojta Jina
2011-07-02 01:38:03 +02:00
parent ce80576e0b
commit 7e2e7b07b6
5 changed files with 30 additions and 21 deletions

2
docs/examples/book.html Normal file
View File

@@ -0,0 +1,2 @@
controller: {{name}}<br />
Book Id: {{params.bookId}}<br />

View File

@@ -0,0 +1,3 @@
controller: {{name}}<br />
Book Id: {{prams.bookId}}<br />
Chapter Id: {{params.chapterId}}