mgcrea/angular-strap — pull request #265 by frapontillo (2013-10-02 10:21:08+00:00)
Title: feat(bsDatepicker): enable attribute-driven language change

If the language changes, the directive should immediately change the language of the datepicker.
Currently, as there's no such method in the datepicker plugin (see https://github.com/eternicode/bootstrap-datepicker/issues/362), a change is forced by reinitializing the datepicker itself.
Also, a check has been added to the `regexpMap` function, in order to handle cases when the language passed to the directive is not present in the datepicker's languages.
The `datepickerSpec` module has been updated accordingly with a test checking the new behaviour.

In the second commit, `grunt build` has been fixed, it had trouble building because of an unused option in the `uglify` task.