Index: example/angular/routing/accessing_router_in_controller/views/show_book.html |
diff --git a/example/angular/components/binding_an_attribute_to_a_string/my_component.html b/example/angular/routing/accessing_router_in_controller/views/show_book.html |
similarity index 58% |
copy from example/angular/components/binding_an_attribute_to_a_string/my_component.html |
copy to example/angular/routing/accessing_router_in_controller/views/show_book.html |
index ecc1742227a578003b1b2cfa689a11a0a5fec8ff..0e90e3cfe18e2081e313345f364e6542a9ef2678 100644 |
--- a/example/angular/components/binding_an_attribute_to_a_string/my_component.html |
+++ b/example/angular/routing/accessing_router_in_controller/views/show_book.html |
@@ -3,7 +3,7 @@ Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
for details. All rights reserved. Use of this source code is governed by a |
BSD-style license that can be found in the LICENSE file. |
--> |
-<div> |
- <input type="text" ng-model="cmp.text" value="{{cmp.text}}"><br> |
- <p>{{cmp.text.length}}</p> |
-</div> |
+<div my-controller> |
+ <div>Title: {{ctrl.bookMap[ctrl.bookId].title}}</div> |
+ <div>Description: {{ctrl.bookMap[ctrl.bookId].description}}</div> |
+</div> |