Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

uibDropdownConfig should be a .value() instead of a .constant() to allow decorating #6004

Closed
onlywei opened this issue Jun 14, 2016 · 1 comment

Comments

@onlywei
Copy link
Contributor

onlywei commented Jun 14, 2016

I think it's pretty useful to allow people to customize this object via angular.module().decorator(), because maybe they want to use their own CSS classes. It should be an easy change, as I don't see uibDropdownConfig being injected anywhere other than a controller.

@wesleycho
Copy link
Contributor

One can use $provide.value to override it, but I'm actually not sure why they are .constants.

PRs welcome!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants