Fix dependencies.

This commit is contained in:
Alexis Lahouze 2017-07-06 10:39:14 +02:00
parent a7f37e88a9
commit 0833536d5e
2 changed files with 4 additions and 5 deletions

View File

@ -23,12 +23,9 @@ var moment = require('moment'),
var angular = require('angular'); var angular = require('angular');
var account = require('../accounts');
var ngResource = require('angular-resource'); var ngResource = require('angular-resource');
module.exports = angular.module('balanceChartModule', [ module.exports = angular.module('balanceChartModule', [
account,
ngResource ngResource
]) ])
@ -38,7 +35,7 @@ module.exports = angular.module('balanceChartModule', [
account: '<', account: '<',
onUpdate: '&' onUpdate: '&'
}, },
controller: function($routeParams, Balances, Account, $element) { controller: function($routeParams, Balances, $element) {
var vm = this; var vm = this;
vm.loadData = function() { vm.loadData = function() {

View File

@ -26,7 +26,8 @@ var operationFormTmpl = require('./operation.form.tmpl.html'),
operationDeleteTmpl = require('./operation.delete.tmpl.html'); operationDeleteTmpl = require('./operation.delete.tmpl.html');
var balanceChartModule = require('./balance-chart.component.js'), var balanceChartModule = require('./balance-chart.component.js'),
categoryChartModule = require('./category-chart.component.js'); categoryChartModule = require('./category-chart.component.js'),
accountModule = require('../accounts');
var ngResource = require('angular-resource'), var ngResource = require('angular-resource'),
ngMessages = require('angular-messages'), ngMessages = require('angular-messages'),
@ -40,6 +41,7 @@ module.exports = angular.module('accountant.operations', [
ngUiBootstrap, ngUiBootstrap,
ngUiNotification, ngUiNotification,
ngStrap, ngStrap,
accountModule,
balanceChartModule, balanceChartModule,
categoryChartModule categoryChartModule
]) ])