blob: ed08ff29ed5e8d6d42bd87c1bd43fe133571fe03 (
plain) (
tree)
|
|
<!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>
|