-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
52 lines (46 loc) · 1.51 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Angular Debugging and Performance</title>
<script src="angular.js"></script>
<script type="text/javascript">
'use strict';
(function (app) {
app.constant('toc', [{
name: 'Exceptions and Logging Example',
url: '01-exception-and-logging.html'
}, {
name: 'Chrome Dev Tools Example',
url: '02-chrome-dev-tools.html'
}, {
name: 'Instrumentation with Zone.js Example',
url: '03-zone-instrumentation.html'
}, {
name: 'Rendering vs. Data-binding Example',
url: '04-rendering-vs-binding.html'
}, {
name: 'BindOnce Example',
url: '05-bind-once.html'
}, {
name: 'Long Lists Example',
url: '06-long-lists.html'
}]);
function Controller (toc) {
this.toc = toc;
}
Controller.$inject = ['toc'];
app.controller('myCtrl', Controller);
})(angular.module('angularApp', []));
</script>
</head>
<body data-ng-app="angularApp">
<h1>Angular Debugging and Performance</h1>
<p>Table of Contents of examples.</p>
<ul data-ng-controller="myCtrl as ctrl">
<li data-ng-repeat="item in ctrl.toc">
<a data-ng-href="{{item.url}}">{{item.name}}</a>
</li>
</ul>
</body>
</html>