Shortcut {modules,services} to app.

This commit is contained in:
Simo Kinnunen
2014-02-06 15:11:26 +09:00
parent 06fd5bc722
commit a2dd5ad0c7
7 changed files with 14 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
define(['./_module', 'lodash'], function(services, _) {
define(['./_module', 'lodash'], function(app, _) {
function ControlServiceFactory($rootScope, socket) {
var controlService = {
}
@@ -56,7 +56,7 @@ define(['./_module', 'lodash'], function(services, _) {
return controlService
}
services.factory('ControlService'
app.factory('ControlService'
, [ '$rootScope'
, 'SocketService'
, ControlServiceFactory