angular2gridster icon indicating copy to clipboard operation
angular2gridster copied to clipboard

Provide service using { providedIn: 'root' }

Open adrdilauro opened this issue 5 years ago • 1 comments

Hi! Great module, it's such a breeze to be able to use a native Angular library rather than injecting buggy external ones

Would it be possible to provide the service via @Injectable({ providedIn: 'root' })? We would prefer it for our use case, in order to avoid letting the service pollute other bundles.

https://angular.io/guide/providers

Thanks for the attention!

adrdilauro avatar Dec 03 '20 15:12 adrdilauro

Feel free to provide PR.

swiety85 avatar Mar 21 '21 18:03 swiety85