This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
Global configuration #1947
Open
Description
When ui-select is configured as in Your wiki, the configuration looks like:
app.config(function(uiSelectConfig) {
But if the whole front-end is serviced minimified (or bundled in ASP.NET world), the parameter names are optimized and it becomes:
app.config(function(n) {
And then there is an error in angular, because there is no provider "n".
You should configure ui-select like this:
appModule.config(['uiSelectConfig', function (uiSelectConfig) {