mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-25 18:25:15 +02:00
Shortcut {modules,services} to app.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
define(['./_module'], function(controllers) {
|
||||
define(['./_module'], function(app) {
|
||||
function DeviceListCtrl($scope, deviceService, groupService) {
|
||||
$scope.devices = deviceService.devices
|
||||
|
||||
@@ -21,7 +21,7 @@ define(['./_module'], function(controllers) {
|
||||
}
|
||||
}
|
||||
|
||||
controllers.controller('DeviceListCtrl'
|
||||
app.controller('DeviceListCtrl'
|
||||
, [ '$scope'
|
||||
, 'DeviceService'
|
||||
, 'GroupService'
|
||||
|
||||
Reference in New Issue
Block a user