summaryrefslogtreecommitdiff
path: root/client/index.php
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-01-24 14:41:00 +0100
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-01-24 14:41:00 +0100
commitb2795163b3cdfee8ea78e3abd6f96a5192e14f25 (patch)
tree997dc8fe542e9d204c120c0b5a540bbab7f0ea1c /client/index.php
parent96a85567552f1555f9c46990610f8e387a4e9d7a (diff)
Make first controller
Diffstat (limited to 'client/index.php')
-rw-r--r--client/index.php13
1 files changed, 7 insertions, 6 deletions
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 @@
<!doctype html>
-<html lang="en">
+<html lang="en" ng-app="mainApp">
<head>
<meta charset="utf-8">
@@ -17,9 +17,9 @@
</head>
- <body>
+ <body ng-controller="mainAppCtrl">
<!-- MAIN GRID -->
- <div class="container-lg" ng-app="MainApp">
+ <div class="container-lg">
<!-- Status bar -->
<div class="row">
<div class="col-lg-12">
@@ -48,7 +48,7 @@
Content test
</div>
<div class="panel-body">
- Main content test
+ Main Content
</div>
</div>
</div>
@@ -67,9 +67,10 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include Bootstrap -->
<script src="./vendors/bootstrap/js/bootstrap.min.js"></script>
- <!-- Include AngularJS -->
+ <!-- Include AngularJS and dependencies-->
<script src="./vendors/angularjs/angular.min.js"></script>
- <!-- Include our app -->
<script src="./js/app.js"></script>
+ <script src="./js/controllers/mainApp.js"></script>
+
</html> \ No newline at end of file