Use angular.module instead of variable.
This commit is contained in:
parent
60386abea4
commit
dcce124a4d
@ -17,7 +17,7 @@
|
||||
// vim: set tw=80 ts=2 sw=2 sts=2:
|
||||
'use strict';
|
||||
|
||||
accountantApp
|
||||
angular.module('accountant')
|
||||
|
||||
.factory('Account', ['$resource', function($resource) {
|
||||
var Account = $resource(
|
||||
|
@ -17,7 +17,7 @@
|
||||
// vim: set tw=80 ts=2 sw=2 sts=2:
|
||||
'use strict';
|
||||
|
||||
var accountantApp = angular.module("accountantApp", [
|
||||
angular.module('accountant', [
|
||||
'ngResource', 'ngRoute',
|
||||
'mgcrea.ngStrap',
|
||||
'highcharts-ng',
|
||||
|
@ -17,7 +17,7 @@
|
||||
// vim: set tw=80 ts=2 sw=2 sts=2:
|
||||
'use strict';
|
||||
|
||||
accountantApp
|
||||
angular.module('accountant')
|
||||
|
||||
.factory('Operation', [ '$resource', function($resource) {
|
||||
return $resource(
|
||||
|
@ -17,7 +17,7 @@
|
||||
// vim: set tw=80 ts=2 sw=2 sts=2:
|
||||
'use strict';
|
||||
|
||||
accountantApp
|
||||
angular.module('accountant')
|
||||
|
||||
.factory('ScheduledOperation', ['$resource', function($resource) {
|
||||
return $resource(
|
||||
|
Loading…
Reference in New Issue
Block a user