Apply
This commit is contained in:
parent
9a93133272
commit
cc6f0008e3
2 changed files with 14 additions and 10 deletions
|
@ -13,16 +13,16 @@ mainApp.config(['$routeProvider', function($routeProvider){
|
|||
|
||||
$routeProvider.
|
||||
when('/home',{
|
||||
templateUrl: 'partials/home/home.html',
|
||||
controller: 'homeCtrl'
|
||||
templateUrl: 'partials/home/home.html'
|
||||
//controller: 'homeCtrl'
|
||||
}).
|
||||
when('/network',{
|
||||
templateUrl: 'partials/network/network.html',
|
||||
controller: 'networkCtrl'
|
||||
templateUrl: 'partials/network/network.html'
|
||||
//controller: 'networkCtrl'
|
||||
}).
|
||||
when('/image',{
|
||||
templateUrl: 'partials/image/image.html',
|
||||
controller: 'imageCtrl'
|
||||
templateUrl: 'partials/image/image.html'
|
||||
//controller: 'imageCtrl'
|
||||
})
|
||||
.otherwise({
|
||||
redirectTo: '/home'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue