Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(769)

Unified Diff: example/angular/routing/accessing_route_params_within_components/book_component.html

Issue 135183008: First group of routing examples (Closed) Base URL: https://github.com/dart-lang/dart_by_example.git@master
Patch Set: Tweaks Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: example/angular/routing/accessing_route_params_within_components/book_component.html
diff --git a/example/angular/components/creating_a_simple_component/my_component.html b/example/angular/routing/accessing_route_params_within_components/book_component.html
similarity index 71%
copy from example/angular/components/creating_a_simple_component/my_component.html
copy to example/angular/routing/accessing_route_params_within_components/book_component.html
index 53b84757b17006e3024acb78acbb2d83afda1fea..18e26580c9790c862ab97b868dc6464b1dd1f1a8 100644
--- a/example/angular/components/creating_a_simple_component/my_component.html
+++ b/example/angular/routing/accessing_route_params_within_components/book_component.html
@@ -3,4 +3,5 @@ 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.
-->
-<p>{{cmp.text}}</p>
+<div>Title: {{cmp.book.title}}</div>
+<div>Description: {{cmp.book.description}}</div>

Powered by Google App Engine
This is Rietveld 408576698