Fix dependencies.
This commit is contained in:
parent
a7f37e88a9
commit
0833536d5e
@ -23,12 +23,9 @@ var moment = require('moment'),
|
||||
|
||||
var angular = require('angular');
|
||||
|
||||
var account = require('../accounts');
|
||||
|
||||
var ngResource = require('angular-resource');
|
||||
|
||||
module.exports = angular.module('balanceChartModule', [
|
||||
account,
|
||||
ngResource
|
||||
])
|
||||
|
||||
@ -38,7 +35,7 @@ module.exports = angular.module('balanceChartModule', [
|
||||
account: '<',
|
||||
onUpdate: '&'
|
||||
},
|
||||
controller: function($routeParams, Balances, Account, $element) {
|
||||
controller: function($routeParams, Balances, $element) {
|
||||
var vm = this;
|
||||
|
||||
vm.loadData = function() {
|
||||
|
@ -26,7 +26,8 @@ var operationFormTmpl = require('./operation.form.tmpl.html'),
|
||||
operationDeleteTmpl = require('./operation.delete.tmpl.html');
|
||||
|
||||
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'),
|
||||
ngMessages = require('angular-messages'),
|
||||
@ -40,6 +41,7 @@ module.exports = angular.module('accountant.operations', [
|
||||
ngUiBootstrap,
|
||||
ngUiNotification,
|
||||
ngStrap,
|
||||
accountModule,
|
||||
balanceChartModule,
|
||||
categoryChartModule
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user