generator-angular-fullstack icon indicating copy to clipboard operation
generator-angular-fullstack copied to clipboard

service generator produces service named with lowerCase?

Open sedina opened this issue 11 years ago • 1 comments

We started using angular-fullstack very recently and something that we realized is that the service and factory generator puts name on the service/factory with lowerCase. While for instance the controller generator is naming the controller with UpperCase.

Is there a logical reason behind this behaviour or? Is it possible to change/correct?

sedina avatar Feb 26 '15 10:02 sedina

I'd say it was because controllers are constructor functions and 'class' like. Also, the angular guide for controllers suggests doing it that way.

kingcody avatar Feb 26 '15 14:02 kingcody