Hi Steven, The answer from Pete is doing exactly the same thing I was doing in the plunk. I was under the misunderstanding you didn't know hot to put it in a factory. Otherwise I had explained you about the async part :)
Glad you figured it out Regards Sander -- 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.
