fixed error
This commit is contained in:
parent
4804c0e414
commit
ad04b51a51
@ -33,9 +33,9 @@ NGApp.controller('OrdersCtrl', function ($scope, OrderService, ViewListService)
|
||||
});
|
||||
});
|
||||
|
||||
NGApp.controller('OrderCtrl', function ($scope, $routeParams, $interval, OrderService) {
|
||||
NGApp.controller('OrderCtrl', function ($scope, $rootScope, $routeParams, $interval, OrderService) {
|
||||
OrderService.get($routeParams.id, function(d) {
|
||||
$rootScope.title = 'Order #' + order.id_order;
|
||||
$rootScope.title = 'Order #' + d.id_order;
|
||||
$scope.order = d;
|
||||
$scope.ready = true;
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user