Add user service and reorganize services. Messy commit but it's a start.

This commit is contained in:
Simo Kinnunen
2014-01-31 15:52:16 +09:00
parent f9da1cb0bf
commit 7c0e04c4b4
12 changed files with 102 additions and 22 deletions

View File

@@ -0,0 +1,8 @@
define(['./module', 'socket.io'], function(mod, io) {
function SocketServiceFactory() {
var socketService = io.connect()
return socketService
}
mod.factory('socketService', [SocketServiceFactory])
})