m-e-conroy / angular-dialog-service

A complete AngularJS service with controllers and templates for generating application modals and dialogs for use with Angular-UI-Bootstrap and Twitter Bootstrap
MIT License
618 stars 228 forks source link

Setting default options for all dialogs #187

Open RezaRahmati opened 7 years ago

RezaRahmati commented 7 years ago

Hey We are using dialogs directly in our code, now I want to change default options for all dialogs with out going and changing all call instances, is there any way for it?

zaang commented 7 years ago

Because angular-dialog-service using Angular-Bootstrap. I think you can try to change default options via $uibModalProvider.options in app config run.