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

Unified Diff: third_party/pkg/angular/demo/web/index.html

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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: third_party/pkg/angular/demo/web/index.html
diff --git a/third_party/pkg/angular/demo/web/index.html b/third_party/pkg/angular/demo/web/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..48fd4731d84788a39026292cb10d2e4177fa7678
--- /dev/null
+++ b/third_party/pkg/angular/demo/web/index.html
@@ -0,0 +1,31 @@
+<html ng-app>
+<head>
+ <script src="packages/browser/dart.js"></script>
+ <script src="main.dart" type="application/dart"></script>
+</head>
+<body>
+ <div main-controller>
+ <h1>ng-model</h1>
+ <input type="text" ng-model="yourName">
+ <input type="text" ng-model="yourName">
+ Hello {{yourName}}!
+ <h1>A Demo of the Bind Directive</h1>
+ <div>
+ <div ng-bind="greeting"></div>
+ <div ng-bind="random()"></div>
+ </div>
+
+ <h1>A Demo of the Repeat Directive</h1>
+ <ul>
+ <li ng-repeat="name in people" ng-bind="name"></li>
+ <li ng-repeat="obj in objs" ng-bind="obj.v"></li>
+ </ul>
+
+ <h1>A Demo of Components</h1>
+ <book>
+ <chapter title="The First Act">The contents of the first act.</chapter>
+ <chapter title="The Second Act">The contents of the second act.</chapter>
+ </book>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698