This commit is contained in:
manzerbredes 2016-03-28 18:20:29 +02:00
parent 93c6b80178
commit a577b60ce4

View file

@ -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: '/'
});
}]);