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.
|
$routeProvider.
|
||||||
when('/home',{
|
when('/home',{
|
||||||
templateUrl: 'partials/home/home.html',
|
templateUrl: 'partials/home/home.html',
|
||||||
controller: 'homeCtrl'
|
controller: 'homeCtrl'
|
||||||
}).
|
}).
|
||||||
when('/network',{
|
when('/network',{
|
||||||
templateUrl: 'partials/network/network.html',
|
templateUrl: 'partials/network/network.html',
|
||||||
controller: 'networkCtrl'
|
controller: 'networkCtrl'
|
||||||
}).
|
}).
|
||||||
when('/image',{
|
when('/image',{
|
||||||
templateUrl: 'partials/image/image.html',
|
templateUrl: 'partials/image/image.html',
|
||||||
controller: 'imageCtrl'
|
controller: 'imageCtrl'
|
||||||
}).otherwise({
|
})
|
||||||
redirectTo: '/'
|
.otherwise({
|
||||||
|
redirectTo: '/'
|
||||||
});
|
});
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue