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

Add consumption example to documentation #23

Open
rlugge opened this issue Oct 6, 2015 · 1 comment
Open

Add consumption example to documentation #23

rlugge opened this issue Oct 6, 2015 · 1 comment
Milestone

Comments

@rlugge
Copy link

rlugge commented Oct 6, 2015

This is an awesome and very, very, very useful bit of code that I'm glad to have.

Unfortunately, while the data is definitely getting exported to an AngularJS file, I have no clue how to actually consume it. I imagine someone who has already done a lot of work with Angular could get there quickly -- I am not that person. Not yet. A little bit more documentation would be... very helpful.

@guzart
Copy link
Owner

guzart commented Nov 17, 2015

Hi @rlugge, take a look at this blog post.

http://mindthecode.com/how-to-use-environment-variables-in-your-angular-application/#using-the-config-file-in-your-app

It's about grunt, but after generating the file the section on how to use it in your app is the same.
Hope this helps.

@guzart guzart added this to the v2.0.0 milestone Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants