ashish-chopra / angular-gauge

A reusable gauge directive for Angular 1.x apps and dashboards
https://ashish-chopra.github.io/angular-gauge/
MIT License
95 stars 36 forks source link

Add global config options for gauge #20

Closed ashish-chopra closed 7 years ago

ashish-chopra commented 7 years ago

I think it is needed to set few config options at global level, which is applicable for every gauge instance in the application. Because providing every attribute on every other instance is cumbersome for client.

Solution: Need to use providers to set options during config time of angular app.

ashish-chopra commented 7 years ago

Global config option is released in v1.2.0+. Checkout README and https://ashish-chopra.github.io/angular-gauge