Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Expose Countries Object for Use in Other Areas of Application #8

Open
smilingkylan opened this issue Aug 27, 2016 · 0 comments

Comments

@smilingkylan
Copy link

This is just a suggestion, not really a bug. I have a form somewhat deep in my application where users pick their country from the country-select directive. On the homepage, however, I have a table showing different submissions and their associated countries. Currently I can only use the ISO country code that was submitted via the country-select directive.

Would there be a good way to expose the allCountries object (with all of the codes and associated country name) earlier in the application? It seems like it only becomes publicly available when the country-select directive is instantiated (ie when the app produces the element within the view). Pardon me if I am a bit ignorant on the topic but currently I am using a separate NPM module for the translation back from country-code to country name and it'd be nice to have something in this package that does that so I don't start polluting my app with unnecessary extra modules.

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

No branches or pull requests

1 participant