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

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

Issue 135183008: First group of routing examples (Closed) Base URL: https://github.com/dart-lang/dart_by_example.git@master
Patch Set: 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/index.html
diff --git a/example/angular/components/creating_a_one_way_binding/index.html b/example/angular/routing/accessing_route_params_within_components/index.html
similarity index 79%
copy from example/angular/components/creating_a_one_way_binding/index.html
copy to example/angular/routing/accessing_route_params_within_components/index.html
index b0130b10ab6c9fd07b98b7ad33572d4015764c7d..ec68daeee1f2eb199bd15c1a4533cc02029fda90 100644
--- a/example/angular/components/creating_a_one_way_binding/index.html
+++ b/example/angular/routing/accessing_route_params_within_components/index.html
@@ -12,13 +12,13 @@ BSD-style license that can be found in the LICENSE file.
<body>
<div my-controller>
<div class="well">
- <my-component text='ctrl.text'></my-component>
- </div>
- <div>
- <input type="text" ng-model="ctrl.text" value="{{ctrl.text}}">
+ <span><a href="#/book/1/show">Book 1</a></span> |
+ <span><a href="#/book/2/show">Book 2</a></span>
</div>
+ <section>
+ <ng-view></ng-view>
+ </section>
</div>
-
<script type="application/dart" src="main.dart"></script>
<script src="packages/browser/dart.js"></script>
</body>

Powered by Google App Engine
This is Rietveld 408576698