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

added custom yes/no message for confirm dialog #46

Closed graphicsxp closed 10 years ago

graphicsxp commented 10 years ago

sorry for bad formatting which does not make obvious what has changed.

but if you scroll to confirm function in the dialog service, I've added possibility to customize 'yes' and 'no' messages. I use the opts object to pass them and then extract the values.

m-e-conroy commented 10 years ago

This can be set already be changing the defaults for the translation module.