lib/generators/angular_velocity/service/templates/service.coffee in angular_velocity-0.0.5alpha vs lib/generators/angular_velocity/service/templates/service.coffee in angular_velocity-0.0.6alpha
- old
+ new
@@ -1,5 +1,5 @@
-angular.module('<%= application_name %>Service', []).factory( '<%= file_name.camelize %>', [ '$http', ($http, $scope) ->
+angular.module('<%= application_name %>Service').factory( '<%= file_name.camelize %>', [ '$http', ($http, $scope) ->
class <%=file_name.camelize %>
constructor: (data) ->
@instantiate(data)
instantiate: (data) ->
@attributes = data
\ No newline at end of file