Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix naming for providers #55

Open
predorock opened this issue Aug 30, 2016 · 0 comments
Open

Fix naming for providers #55

predorock opened this issue Aug 30, 2016 · 0 comments

Comments

@predorock
Copy link

Hi, when you use providers in ng-classify you will write the code :
class Hello extends Provider ...
Well, in documentation example is explained that the final provider name will be
app.provider('helloProvider', function Hello(){ ... }) (also I hav checked my output code)
But angular docs says that the framework will add the 'Provider' word from itself, so if you want actually use your declared provider you have to do :
app.config('appName',function(helloProviderProvider){ ... })
Is possible to fix that?
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant