summaryrefslogtreecommitdiff
path: root/client/js
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-01-24 15:10:13 +0100
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-01-24 15:10:13 +0100
commita059014b1bb87fe18f3079c4ab1dfefc728a0e34 (patch)
treefae40d0574f0db97e6411d9b1efff991e81f7d79 /client/js
parentb2795163b3cdfee8ea78e3abd6f96a5192e14f25 (diff)
Edit controller
Diffstat (limited to 'client/js')
-rw-r--r--client/js/controllers/main.js10
-rw-r--r--client/js/controllers/mainApp.js10
-rw-r--r--client/js/controllers/status.js12
3 files changed, 22 insertions, 10 deletions
diff --git a/client/js/controllers/main.js b/client/js/controllers/main.js
new file mode 100644
index 0000000..78d5849
--- /dev/null
+++ b/client/js/controllers/main.js
@@ -0,0 +1,10 @@
+/*
+ * mainApp Controller
+ */
+
+
+
+mainApp.controller('mainCtrl', function ($scope)
+{
+ $scope.test="Test title";
+}); \ No newline at end of file
diff --git a/client/js/controllers/mainApp.js b/client/js/controllers/mainApp.js
deleted file mode 100644
index 6ff39a9..0000000
--- a/client/js/controllers/mainApp.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * mainApp Controller
- */
-
-
-
-mainApp.controller('mainAppCtrl', function ($scope)
-{
- // TODO
-}); \ No newline at end of file
diff --git a/client/js/controllers/status.js b/client/js/controllers/status.js
new file mode 100644
index 0000000..3534912
--- /dev/null
+++ b/client/js/controllers/status.js
@@ -0,0 +1,12 @@
+/*
+ * mainApp Controller
+ */
+
+
+
+mainApp.controller('statusCtrl', function ($scope)
+{
+ $scope.username="User 1";
+ $scope.connection="Online";
+ $scope.lastconnection="1 Septembre";
+}); \ No newline at end of file