Skip to content

Commit 8e1d6fd

Browse files
committed
fix(templates): classify services registered with .service
1 parent 2753c99 commit 8e1d6fd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
22

33
angular.module('<%= _.camelize(appname) %>App')
4-
.service '<%= _.camelize(name) %>', () ->
4+
.service '<%= _.classify(name) %>', () ->
55
# AngularJS will instantiate a singleton by calling "new" on this function
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
22

33
angular.module('<%= _.camelize(appname) %>App')
4-
.service '<%= _.camelize(name) %>', () ->
4+
.service '<%= _.classify(name) %>', () ->
55
# AngularJS will instantiate a singleton by calling "new" on this function
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

33
angular.module('<%= _.camelize(appname) %>App')
4-
.service('<%= _.camelize(name) %>', function <%= _.camelize(name) %>() {
4+
.service('<%= _.classify(name) %>', function <%= _.classify(name) %>() {
55
// AngularJS will instantiate a singleton by calling "new" on this function
66
});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

33
angular.module('<%= _.camelize(appname) %>App')
4-
.service('<%= _.camelize(name) %>', function <%= _.camelize(name) %>() {
4+
.service('<%= _.classify(name) %>', function <%= _.classify(name) %>() {
55
// AngularJS will instantiate a singleton by calling "new" on this function
66
});

0 commit comments

Comments
 (0)