Skip to content
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
Open
@easyest

Description

@easyest

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) {

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions