summaryrefslogtreecommitdiff
path: root/client/js/controllers
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-01-24 19:19:32 +0100
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-01-24 19:19:32 +0100
commit5466ce78f00038e742ef2a108c755f57ede451f5 (patch)
tree3e24eb1ace7e97382189eab1441bf52d60124925 /client/js/controllers
parenta059014b1bb87fe18f3079c4ab1dfefc728a0e34 (diff)
Add angular-route
Diffstat (limited to 'client/js/controllers')
-rw-r--r--client/js/controllers/home.js10
-rw-r--r--client/js/controllers/main.js10
-rw-r--r--client/js/controllers/network.js10
3 files changed, 20 insertions, 10 deletions
diff --git a/client/js/controllers/home.js b/client/js/controllers/home.js
new file mode 100644
index 0000000..d4e1b0e
--- /dev/null
+++ b/client/js/controllers/home.js
@@ -0,0 +1,10 @@
+/*
+ * home Controller
+ */
+
+
+
+mainApp.controller('homeCtrl', function ($scope)
+{
+ $scope.test="Home view";
+}); \ No newline at end of file
diff --git a/client/js/controllers/main.js b/client/js/controllers/main.js
deleted file mode 100644
index 78d5849..0000000
--- a/client/js/controllers/main.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * mainApp Controller
- */
-
-
-
-mainApp.controller('mainCtrl', function ($scope)
-{
- $scope.test="Test title";
-}); \ No newline at end of file
diff --git a/client/js/controllers/network.js b/client/js/controllers/network.js
new file mode 100644
index 0000000..c2a9794
--- /dev/null
+++ b/client/js/controllers/network.js
@@ -0,0 +1,10 @@
+/*
+ * network Controller
+ */
+
+
+
+mainApp.controller('networkCtrl', function ($scope)
+{
+ $scope.test="Network View";
+}); \ No newline at end of file