Rename templates into views. Fix paths to static files.
This commit is contained in:
parent
ea1b5957c0
commit
29bc9ed559
@ -54,17 +54,17 @@ angular.module('accountant', [
|
||||
// Defining template and controller in function of route.
|
||||
$routeProvider
|
||||
.when('/account/:accountId/operations', {
|
||||
templateUrl: 'static/templates/operations.html',
|
||||
templateUrl: 'static/views/operations.html',
|
||||
controller: 'OperationController',
|
||||
controllerAs: 'operationsCtrl'
|
||||
})
|
||||
.when('/account/:accountId/scheduler', {
|
||||
templateUrl: 'static/templates/scheduler.html',
|
||||
templateUrl: 'static/views/scheduler.html',
|
||||
controller: 'SchedulerController',
|
||||
controllerAs: 'schedulerCtrl'
|
||||
})
|
||||
.when('/accounts', {
|
||||
templateUrl: 'static/templates/accounts.html',
|
||||
templateUrl: 'static/views/accounts.html',
|
||||
controller: 'AccountController',
|
||||
controllerAs: 'accountsCtrl'
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user