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

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: 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/accessing_route_params_within_components/index.html
diff --git a/example/angular/components/applying_outside_styles_in_a_component/index.html b/example/angular/routing/accessing_route_params_within_components/index.html
similarity index 79%
copy from example/angular/components/applying_outside_styles_in_a_component/index.html
copy to example/angular/routing/accessing_route_params_within_components/index.html
index b74b99368271e954518187379fcb92709de1e07d..ec68daeee1f2eb199bd15c1a4533cc02029fda90 100644
--- a/example/angular/components/applying_outside_styles_in_a_component/index.html
+++ b/example/angular/routing/accessing_route_params_within_components/index.html
@@ -8,19 +8,16 @@ BSD-style license that can be found in the LICENSE file.
<head>
<link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../../../common.css">
- <style>
- p {
- color: green;
- }
- </style>
</head>
<body>
-
<div my-controller>
- <p>{{ctrl.text1}}</p>
<div class="well">
- <my-component text={{ctrl.text2}}></my-component>
+ <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>

Powered by Google App Engine
This is Rietveld 408576698