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

Unified Diff: example/angular/routing/nesting_routes/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/nesting_routes/index.html
diff --git a/example/angular/basics/setting_up_a_controller/index.html b/example/angular/routing/nesting_routes/index.html
similarity index 76%
copy from example/angular/basics/setting_up_a_controller/index.html
copy to example/angular/routing/nesting_routes/index.html
index e4e0a97d9378c580d303c8809b014a3331e00b15..9ffb7aa5d829e58b709c4b994fcc76a7e539c185 100644
--- a/example/angular/basics/setting_up_a_controller/index.html
+++ b/example/angular/routing/nesting_routes/index.html
@@ -11,10 +11,13 @@ BSD-style license that can be found in the LICENSE file.
</head>
<body>
<div class="well">
- <div my-controller>
- <p>{{ctrl.text}}</p>
- </div>
+ <span><a href="#/articles/all">All articles</a></span> |
+ <span><a href="#/articles/featured">Featured article</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