Remove usage of .

This commit is contained in:
Alexis Lahouze 2017-07-07 01:16:33 +02:00
parent bebe2aa874
commit 6556227f88

View File

@ -61,7 +61,7 @@ module.exports = angular.module('accountant.operations', [
* Controller for the operations.
*/
.controller('OperationController', function($routeParams, $modal,
Notification, Operation, Account, $log) {
Notification, Operation, Account) {
var vm = this;
@ -123,8 +123,6 @@ module.exports = angular.module('accountant.operations', [
return operation;
}, function(result){
$log.error('Error while saving operation', operation, result);
Notification.error(
'Error while saving operation: ' + result.message
);