-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.html
20 lines (20 loc) · 943 Bytes
/
example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular-route.min.js"></script>
<script src="depthchart.js"></script>
<script src="example.js"></script>
</head>
<body ng-app="example">
<div ng-controller="exampleCtrl">
<depth-chart data="basic_example"></depth-chart>
<depth-chart data="object_example" display-template="object_template_for_value"></depth-chart>
<depth-chart data="object_example" display-template="object_template_for_uppercase_label"></depth-chart>
<depth-chart data="object_example" display-template="alert_object" template-function="alert(thing)"></depth-chart>
</div>
</body>
</html>