leocaseiro / angular-chosen

AngularJS Chosen directive is an AngularJS Directive that brings the Chosen jQuery in a AngularJS way
http://leocaseiro.github.io/angular-chosen/
MIT License
682 stars 248 forks source link

Added config-provider #231

Closed zlodes closed 7 years ago

zlodes commented 7 years ago

Example:

angular.module('chosenExampleApp', ['localytics.directives'])
    .config(['chosenProvider', function (chosenProvider) {
        chosenProvider.setOption({
            no_results_text: 'Haha! There is no results!',
        placeholder_text_multiple: 'Choose a few!'
        });
    }]);
zlodes commented 7 years ago

@leocaseiro, hi! There is cool feature!

leocaseiro commented 7 years ago

Hi @zlodes, thanks for sending this PR. I'll have a deep look next week, so I can publish within the next release.

leocaseiro commented 7 years ago

Release 1.6.0!!!

🎉 🍺