Sorry, the plunker: http://plnkr.co/edit/4AMm2M7d2eAP6yTY885Z
M. Il giorno 10/apr/2014, alle ore 12:58, Ziobudda <[email protected]> ha scritto: > Il giorno 10/apr/2014, alle ore 12:53, Karunaker Reddy > <[email protected]> ha scritto: > >> Can we write Anguler service in one file and controller in one file which >> uses the service? > > > Yes and it is a best practice. You need, only, to load "services" file before > use it. > > M. > > -- > Davide Morelli > [email protected] > > > > -- Davide Morelli [email protected] -- 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.
