Index: example/angular/routing/setting_up_simple_routing/index.html |
diff --git a/example/angular/basics/displaying_items_in_a_list/index.html b/example/angular/routing/setting_up_simple_routing/index.html |
similarity index 78% |
copy from example/angular/basics/displaying_items_in_a_list/index.html |
copy to example/angular/routing/setting_up_simple_routing/index.html |
index 72effe74fb525f1db4c690ac9f816884ecb56dbd..c809fb0edf901976342171adfe2f98d13ef04a72 100644 |
--- a/example/angular/basics/displaying_items_in_a_list/index.html |
+++ b/example/angular/routing/setting_up_simple_routing/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> |
- <div ng-repeat="fruit in ctrl.fruits">{{fruit}}</div> |
- </div> |
+ <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> |