Closed kpudlik closed 8 years ago
As far as I know in Angular 2 instances are named by camelCase, e.g:
camelCase
private sampleService: SampleService
Why are you naming service instances by PascalCase?
PascalCase
Something like this looks like calling a static method: SampleService.method() when it's actually a method of an instance
SampleService.method()
Gonna bake this into the next updates:
constructor(AuthService, $state) { 'ngInject'; this.authService = AuthService; this.$state = $state; }
As far as I know in Angular 2 instances are named by
camelCase
, e.g:private sampleService: SampleService
Why are you naming service instances by
PascalCase
?Something like this looks like calling a static method:
SampleService.method()
when it's actually a method of an instance