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

Side by Side Diff: example/angular/routing/accessing_router_in_controller/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 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 </head> 11 </head>
12 <body> 12 <body>
13 <div my-controller> 13 <div>
14 <div class="well"> 14 <div class="well">
15 <my-component text='ctrl.text'></my-component> 15 <span><a href="#/book/1/show">Book 1</a></span> |
16 <span><a href="#/book/2/show">Book 2</a></span>
16 </div> 17 </div>
17 <div> 18 <div ng-bind-route="book">
18 <input type="text" ng-model="ctrl.text" value="{{ctrl.text}}"> 19 <div my-controller>
20 <ng-view></ng-view>
21 </div>
19 </div> 22 </div>
20 </div> 23 </div>
21
22 <script type="application/dart" src="main.dart"></script> 24 <script type="application/dart" src="main.dart"></script>
23 <script src="packages/browser/dart.js"></script> 25 <script src="packages/browser/dart.js"></script>
24 </body> 26 </body>
25 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698