summaryrefslogtreecommitdiff
path: root/client/js/services/sharedProfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/js/services/sharedProfile.js')
-rw-r--r--client/js/services/sharedProfile.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/client/js/services/sharedProfile.js b/client/js/services/sharedProfile.js
new file mode 100644
index 0000000..6e78cf6
--- /dev/null
+++ b/client/js/services/sharedProfile.js
@@ -0,0 +1,13 @@
+
+/**
+ * The sharedProfile service
+ * It's used to shared the profile between controller
+ */
+mainApp.factory('sharedProfile',[function(){
+ var profile={};
+
+ profile.username="None";
+ profile.projectname="None";
+
+ return profile;
+}]); \ No newline at end of file