Move templates in routing. Module import order.

This commit is contained in:
Alexis Lahouze 2017-07-07 22:36:04 +02:00
parent fbeb3fd362
commit 06ca00e627
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,7 @@
var operationsTmpl = require('./operations/operations.html');
var accountsTmpl = require('./accounts/accounts.html');
var schedulerTmpl = require('./scheduler/scheduler.html');
module.exports = function($routeProvider) {
// Defining template and controller in function of route.
$routeProvider

View File

@ -31,14 +31,10 @@ var routing = require('./app.config');
require('bootstrap-webpack!./bootstrap.config.js');
var operationsTmpl = require('./operations/operations.html');
var accountsTmpl = require('./accounts/accounts.html');
var schedulerTmpl = require('./scheduler/scheduler.html');
angular.module('accountant', [
ngRoute,
accountModule,
loginModule,
operationModule,
schedulerModule,
ngRoute,
]).config(routing);