diff --git a/accountant-ui/js/accounts.js b/accountant-ui/js/accounts.js index 8ecc3cd..e7b758a 100644 --- a/accountant-ui/js/accounts.js +++ b/accountant-ui/js/accounts.js @@ -160,7 +160,7 @@ angular.module('accountant.accounts', [ }]) .directive( - 'accountFormDialog', function($ngBootbox, Notification) { + 'accountFormDialog', function(Account, $ngBootbox, Notification) { return { restrict: 'A', scope: {