Can you provide the a code example? A service doesn't have a scope object, controllers do tho, if you inject one.
On Mon, Jan 13, 2014 at 9:29 PM, Anthony Kerz <[email protected]>wrote: > so i’m trying to call method m1 from method m2 in the same service. > > i tried using this.m1(), but it this seems to be set to a Scope object > and not to the service instance. > > what pattern do people recommend for this? > > regards, > tony. > > -- > 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/groups/opt_out. > -- Tony Polinelli -- 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/groups/opt_out.
