blob: 6bf7fc0c64a1ce0a28e533cf3c549e46cb069da5 (
plain) (
blame)
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
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My HTML File</title>
<link rel="stylesheet" href="css/app.css">
<script src="lib/angular.js"></script>
<script src="js/app.js" ></script>
<script src="js/controllers.js" ></script>
<script src="js/services.js" ></script>
<script src="js/filters.js" ></script>
</head>
<body ng-app="playGraph" ng-controller="pointCtrl">
<svg id="world" width="500" height="500">
<circle data-ng-repeat="point in points" cx="{{point.x}}" cy="{{point.y}}" r="10" stroke="gray" stroke-width="2" fill="{{getColor(point)}}"></circle>
<line data-ng-repeat="tuple in line | sliding2" x1="{{tuple[0].x}}" y1="{{tuple[0].y}}" x2="{{tuple[1].x}}" y2="{{tuple[1].y}}" style="stroke:rgb(255,0,0);stroke-width:2" />
</svg>
<ul>
<li data-ng-repeat="song in playlist">
{{song}}
</li>
</ul>
<p>Nothing here {{}}</p>
</body>
</html>
|