aboutsummaryrefslogtreecommitdiff
path: root/app/js/controllers.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/js/controllers.js')
-rw-r--r--app/js/controllers.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/js/controllers.js b/app/js/controllers.js
index b592990..78358a6 100644
--- a/app/js/controllers.js
+++ b/app/js/controllers.js
@@ -3,12 +3,12 @@
/* Controllers */
var p = new Point(1,2);
-app.controller('pointCtrl', ['$scope', '$http', function($scope, $http){
+app.controller('pointCtrl', function($scope, $http, pathService){
var constList = [
{x: 10, y:20},
{x: 100, y:50},
{x: 100, y:200}
- ]
+ ];
pathService.computePlaylist(dummyPoints,constList, 60);
$scope.points=dummyPoints;
@@ -16,4 +16,4 @@ app.controller('pointCtrl', ['$scope', '$http', function($scope, $http){
console.log(response.data.points);
$scope.points=JSON.parse(response.data.points);
});*/
-}]); \ No newline at end of file
+}); \ No newline at end of file