ng-classify icon indicating copy to clipboard operation
ng-classify copied to clipboard

Fix naming for providers

Open predorock opened this issue 8 years ago • 0 comments

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

predorock avatar Aug 30 '16 14:08 predorock