diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-03-28 18:20:29 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-03-28 18:20:29 +0200 |
| commit | a577b60ce475f94221462befcb0b5b4a347aad33 (patch) | |
| tree | f693a98962a7264a419eec120c8fecf3a1705bba /client/js | |
| parent | 93c6b80178000d796d0f4edea2c497c1960574bf (diff) | |
Test
Diffstat (limited to 'client/js')
| -rw-r--r-- | client/js/app.js | 27 |
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: '/' }); }]); |
