Use angular.module instead of variable.

Alexis Lahouze committed 2016-02-08 00:20:36 +01:00
1 parent 60386abea4
commit dcce124a4d
4 files changed
+4 -4

No files matched your search

+1 -1
@@ -17,7 +17,7 @@
// vim: set tw=80 ts=2 sw=2 sts=2: // vim: set tw=80 ts=2 sw=2 sts=2:
'use strict'; 'use strict';
accountantApp angular.module('accountant')
.factory('Account', ['$resource', function($resource) { .factory('Account', ['$resource', function($resource) {
var Account = $resource( var Account = $resource(
+1 -1
@@ -17,7 +17,7 @@
// vim: set tw=80 ts=2 sw=2 sts=2: // vim: set tw=80 ts=2 sw=2 sts=2:
'use strict'; 'use strict';
var accountantApp = angular.module("accountantApp", [ angular.module('accountant', [
'ngResource', 'ngRoute', 'ngResource', 'ngRoute',
'mgcrea.ngStrap', 'mgcrea.ngStrap',
'highcharts-ng', 'highcharts-ng',
+1 -1
@@ -17,7 +17,7 @@
// vim: set tw=80 ts=2 sw=2 sts=2: // vim: set tw=80 ts=2 sw=2 sts=2:
'use strict'; 'use strict';
accountantApp angular.module('accountant')
.factory('Operation', [ '$resource', function($resource) { .factory('Operation', [ '$resource', function($resource) {
return $resource( return $resource(
+1 -1
@@ -17,7 +17,7 @@
// vim: set tw=80 ts=2 sw=2 sts=2: // vim: set tw=80 ts=2 sw=2 sts=2:
'use strict'; 'use strict';
accountantApp angular.module('accountant')
.factory('ScheduledOperation', ['$resource', function($resource) { .factory('ScheduledOperation', ['$resource', function($resource) {
return $resource( return $resource(