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

Unified Diff: example/angular/routing/redirecting_to_a_new_route/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/redirecting_to_a_new_route/index.html
diff --git a/example/angular/components/binding_an_attribute_to_a_string/index.html b/example/angular/routing/redirecting_to_a_new_route/index.html
similarity index 85%
copy from example/angular/components/binding_an_attribute_to_a_string/index.html
copy to example/angular/routing/redirecting_to_a_new_route/index.html
index 4fcfd7ad2dfaacddbf92eb219e99954cd834b2dc..ee2b99458cf41be096432959b6498e79a3d0829a 100644
--- a/example/angular/components/binding_an_attribute_to_a_string/index.html
+++ b/example/angular/routing/redirecting_to_a_new_route/index.html
@@ -12,10 +12,12 @@ BSD-style license that can be found in the LICENSE file.
<body>
<div my-controller>
<div class="well">
- <my-component text='Dart is fun'></my-component>
+ <span><a href="#/about">About</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