mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
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:
2
docs/examples/book.html
Normal file
2
docs/examples/book.html
Normal file
@@ -0,0 +1,2 @@
|
||||
controller: {{name}}<br />
|
||||
Book Id: {{params.bookId}}<br />
|
||||
3
docs/examples/chapter.html
Normal file
3
docs/examples/chapter.html
Normal file
@@ -0,0 +1,3 @@
|
||||
controller: {{name}}<br />
|
||||
Book Id: {{prams.bookId}}<br />
|
||||
Chapter Id: {{params.chapterId}}
|
||||
Reference in New Issue
Block a user