angularjs - Loading constant() value dynamically -
Is it possible to declare an angle? Constant ("myLabels", {}), then load it dynamically? In other words, the value of constants is a JSON blob back / set up by a web service?
If so, it looks like (example pseudocode example).
I believe that constant
and value
There is a difference between You can just use it:
app.value ("myLabels", {});
Comments
Post a Comment