OSDN Git Service
(root)
/
eos
/
zephyr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
front-end login flow
[eos/zephyr.git]
/
client
/
app
/
shared
/
user
/
user.service.js
diff --git a/client/app/shared/user/user.service.js
b/client/app/shared/user/user.service.js
new file mode 100644
(file)
index 0000000..
0e79de8
--- /dev/null
+++ b/
client/app/shared/user/user.service.js
@@ -0,0
+1,15
@@
+'use strict'
+
+angular.module('zephyrApp')
+.service('user', function() {
+ var userID
+ return {
+ setID: function(id) {
+ userID = id
+ },
+ getID: function() {
+ return userID
+ }
+ }
+})
+