ng-classify
ng-classify copied to clipboard
Fix naming for providers
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