blob: 4b8729536a3e08562c03ba65a72220ef51d67b00 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
'use strict';
/* Controllers */
var p = new Point(1,2);
app.controller('pointCtrl', ['$scope', '$http', function($scope, $http){
$scope.points=dummyPoints;
/*$http.get('data.json').then( function (response) {
console.log(response.data.points);
$scope.points=JSON.parse(response.data.points);
});*/
}]);
|