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.
|
// Defining template and controller in function of route.
|
||||||
$routeProvider
|
$routeProvider
|
||||||
.when('/account/:accountId/operations', {
|
.when('/account/:accountId/operations', {
|
||||||
templateUrl: 'static/templates/operations.html',
|
templateUrl: 'static/views/operations.html',
|
||||||
controller: 'OperationController',
|
controller: 'OperationController',
|
||||||
controllerAs: 'operationsCtrl'
|
controllerAs: 'operationsCtrl'
|
||||||
})
|
})
|
||||||
.when('/account/:accountId/scheduler', {
|
.when('/account/:accountId/scheduler', {
|
||||||
templateUrl: 'static/templates/scheduler.html',
|
templateUrl: 'static/views/scheduler.html',
|
||||||
controller: 'SchedulerController',
|
controller: 'SchedulerController',
|
||||||
controllerAs: 'schedulerCtrl'
|
controllerAs: 'schedulerCtrl'
|
||||||
})
|
})
|
||||||
.when('/accounts', {
|
.when('/accounts', {
|
||||||
templateUrl: 'static/templates/accounts.html',
|
templateUrl: 'static/views/accounts.html',
|
||||||
controller: 'AccountController',
|
controller: 'AccountController',
|
||||||
controllerAs: 'accountsCtrl'
|
controllerAs: 'accountsCtrl'
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user