Then why not: <script src="configuration.js"></script>
On 4 November 2014 18:06, Bhavin Patel <[email protected]> wrote: > You are reading it from a JSON, I want to read it from a JS and also to > make it more clear, please refer to > > http://plnkr.co/edit/dQUj4kvi6oIvtj452xN8?p=preview > > Now, in this my constant structure is a bit different and i have shown the > way that I can do it, but as there are many constants I cant take this > approach. > > My primary concern now is to read the constants and then I can figure out > how to update them. > > Now I can use $http.get.. but if I do so, I would get the whole file > whereas I only need constants as object which can be modified individually.. > > Thank You, > Bhavin > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
