| 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>
|
|
|