Fix dependencies.
This commit is contained in:
parent
a7f37e88a9
commit
0833536d5e
@ -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() {
|
||||||
|
@ -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
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user