Use angular.module instead of variable.

This commit is contained in:
Alexis Lahouze 2016-02-08 00:20:36 +01:00
parent 60386abea4
commit dcce124a4d
4 changed files with 4 additions and 4 deletions

View File

@ -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(

View File

@ -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',

View File

@ -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(

View File

@ -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(