mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-22 22:05:21 +02:00
Shortcut {modules,services} to app.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
define(['./_module'], function(services) {
|
||||
define(['./_module'], function(app) {
|
||||
function UserServiceFactory($http) {
|
||||
var userService = {
|
||||
}
|
||||
@@ -13,5 +13,5 @@ define(['./_module'], function(services) {
|
||||
return userService
|
||||
}
|
||||
|
||||
services.factory('UserService', ['$http', UserServiceFactory])
|
||||
app.factory('UserService', ['$http', UserServiceFactory])
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user