Test
This commit is contained in:
parent
93c6b80178
commit
a577b60ce4
1 changed files with 14 additions and 13 deletions
|
@ -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: '/'
|
||||
});
|
||||
}]);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue