Rename templates into views. Fix paths to static files.

This commit is contained in:
Alexis Lahouze 2016-02-17 08:54:44 +01:00
parent ea1b5957c0
commit 29bc9ed559
4 changed files with 3 additions and 3 deletions

View File

@ -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'
})