Tracker needs options.

This commit is contained in:
Simo Kinnunen
2014-03-19 17:30:05 +09:00
parent 2555168345
commit 1945ae26a7

View File

@@ -114,7 +114,7 @@ module.exports = function DeviceServiceFactory($rootScope, $http, socket) {
}
deviceService.get = function (serial, $scope) {
var tracker = new Tracker($scope)
var tracker = new Tracker($scope, {})
return $http.get('/api/v1/devices/' + serial)
.then(function (response) {