Move templates in routing. Module import order.
This commit is contained in:
parent
fbeb3fd362
commit
06ca00e627
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user