Hi, I am really frustrated with this problem that I have and would appreciate any help with it.
Basically, I have a stateprovider, and for a particular state I have a resolve defined for it so that I can preload the page with data, instead of having to do a hard refresh in order to populate the page. Now, I have services defined in another file, services.js that I can import. Those services work fine when they are invoked via the controller function but do not work when invoked via the resolve. The entire service object is empty. I am not quite understanding what I am doing wrong. Thanks Nikhil -- 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.
