aboutsummaryrefslogtreecommitdiff
path: root/app/index.html
blob: ed08ff29ed5e8d6d42bd87c1bd43fe133571fe03 (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
29
30
<!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.min.js"></script>
        <script src="js/app.js" ></script>
        <script src="js/controllers.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="white"></circle>
        </svg>

        <script>
        /*
            $(document).onload(function() {
                var svg = $('#world').svg('get'); 
                $('circle', svg.root()).click(function () {
                    attr('cx', '300');
                });
            });
          */  
        </script

        <p>Nothing here {{text}}</p>
    </body>
</html>