summaryrefslogtreecommitdiff
path: root/client/js/app.js
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-03-28 18:20:29 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-03-28 18:20:29 +0200
commita577b60ce475f94221462befcb0b5b4a347aad33 (patch)
treef693a98962a7264a419eec120c8fecf3a1705bba /client/js/app.js
parent93c6b80178000d796d0f4edea2c497c1960574bf (diff)
Test
Diffstat (limited to 'client/js/app.js')
-rw-r--r--client/js/app.js27
1 files changed, 14 insertions, 13 deletions
diff --git a/client/js/app.js b/client/js/app.js
index 925f033..e911050 100644
--- a/client/js/app.js
+++ b/client/js/app.js
@@ -12,19 +12,20 @@ mainApp.config(['$routeProvider', function($routeProvider){
$routeProvider.
- when('/home',{
- templateUrl: 'partials/home/home.html',
- controller: 'homeCtrl'
- }).
- when('/network',{
- templateUrl: 'partials/network/network.html',
- controller: 'networkCtrl'
- }).
- when('/image',{
- templateUrl: 'partials/image/image.html',
- controller: 'imageCtrl'
- }).otherwise({
- redirectTo: '/'
+ when('/home',{
+ templateUrl: 'partials/home/home.html',
+ controller: 'homeCtrl'
+ }).
+ when('/network',{
+ templateUrl: 'partials/network/network.html',
+ controller: 'networkCtrl'
+ }).
+ when('/image',{
+ templateUrl: 'partials/image/image.html',
+ controller: 'imageCtrl'
+ })
+ .otherwise({
+ redirectTo: '/'
});
}]);