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) {
|
module.exports = function($routeProvider) {
|
||||||
// Defining template and controller in function of route.
|
// Defining template and controller in function of route.
|
||||||
$routeProvider
|
$routeProvider
|
||||||
|
@ -31,14 +31,10 @@ var routing = require('./app.config');
|
|||||||
|
|
||||||
require('bootstrap-webpack!./bootstrap.config.js');
|
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', [
|
angular.module('accountant', [
|
||||||
|
ngRoute,
|
||||||
accountModule,
|
accountModule,
|
||||||
loginModule,
|
loginModule,
|
||||||
operationModule,
|
operationModule,
|
||||||
schedulerModule,
|
schedulerModule,
|
||||||
ngRoute,
|
|
||||||
]).config(routing);
|
]).config(routing);
|
||||||
|
Loading…
Reference in New Issue
Block a user