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

Unified Diff: example/angular/routing/setting_up_simple_routing/index.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/setting_up_simple_routing/index.html
diff --git a/example/angular/components/creating_a_component_that_allows_child_tags/index.html b/example/angular/routing/setting_up_simple_routing/index.html
similarity index 78%
copy from example/angular/components/creating_a_component_that_allows_child_tags/index.html
copy to example/angular/routing/setting_up_simple_routing/index.html
index 9dcaecf51076043889507648019c26111f74994a..c809fb0edf901976342171adfe2f98d13ef04a72 100644
--- a/example/angular/components/creating_a_component_that_allows_child_tags/index.html
+++ b/example/angular/routing/setting_up_simple_routing/index.html
@@ -11,8 +11,13 @@ BSD-style license that can be found in the LICENSE file.
</head>
<body>
<div class="well">
- <my-component><span style="color:blue">world</span></my-component>
+ <span><a href="#/hello">Hello</a></span> |
+ <span><a href="#/goodbye">Goodbye</a></span>
</div>
+ <section>
+ <ng-view></ng-view>
+ </section>
+
<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