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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 for details. All rights reserved. Use of this source code is governed by a 4 for details. All rights reserved. Use of this source code is governed by a
5 BSD-style license that can be found in the LICENSE file. 5 BSD-style license that can be found in the LICENSE file.
6 --> 6 -->
7 <html> 7 <html>
8 <head> 8 <head>
9 <link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/ bootstrap/3.0.3/css/bootstrap.min.css"> 9 <link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/ bootstrap/3.0.3/css/bootstrap.min.css">
10 <link rel="stylesheet" type="text/css" href="../../../common.css"> 10 <link rel="stylesheet" type="text/css" href="../../../common.css">
11 <style>
12 p {
13 color: green;
14 }
15 </style>
16 </head> 11 </head>
17 <body> 12 <body>
18
19 <div my-controller> 13 <div my-controller>
20 <p>{{ctrl.text1}}</p>
21 <div class="well"> 14 <div class="well">
22 <my-component text={{ctrl.text2}}></my-component> 15 <span><a href="#/book/1/show">Book 1</a></span> |
16 <span><a href="#/book/2/show">Book 2</a></span>
23 </div> 17 </div>
18 <section>
19 <ng-view></ng-view>
20 </section>
24 </div> 21 </div>
25 <script type="application/dart" src="main.dart"></script> 22 <script type="application/dart" src="main.dart"></script>
26 <script src="packages/browser/dart.js"></script> 23 <script src="packages/browser/dart.js"></script>
27 </body> 24 </body>
28 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698