From b2795163b3cdfee8ea78e3abd6f96a5192e14f25 Mon Sep 17 00:00:00 2001 From: manzerbredes Date: Sun, 24 Jan 2016 14:41:00 +0100 Subject: [PATCH] Make first controller --- client/index.php | 13 +++++++------ client/js/app.js | 4 +++- client/js/controllers/empty | 0 client/js/controllers/mainApp.js | 10 ++++++++++ 4 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 client/js/controllers/empty create mode 100644 client/js/controllers/mainApp.js diff --git a/client/index.php b/client/index.php index 6ce050c..8c29a9b 100644 --- a/client/index.php +++ b/client/index.php @@ -1,6 +1,6 @@ - + @@ -17,9 +17,9 @@ - + -
+
@@ -48,7 +48,7 @@ Content test
- Main content test + Main Content
@@ -67,9 +67,10 @@ - + - + + \ No newline at end of file diff --git a/client/js/app.js b/client/js/app.js index e726d8a..63ecfef 100644 --- a/client/js/app.js +++ b/client/js/app.js @@ -1 +1,3 @@ -angular.module("MainApp",[]) \ No newline at end of file + +// Declare main app +var mainApp=angular.module("mainApp",[]); \ No newline at end of file diff --git a/client/js/controllers/empty b/client/js/controllers/empty deleted file mode 100644 index e69de29..0000000 diff --git a/client/js/controllers/mainApp.js b/client/js/controllers/mainApp.js new file mode 100644 index 0000000..6ff39a9 --- /dev/null +++ b/client/js/controllers/mainApp.js @@ -0,0 +1,10 @@ +/* + * mainApp Controller + */ + + + +mainApp.controller('mainAppCtrl', function ($scope) +{ + // TODO +}); \ No newline at end of file