Thanks for your opinion. I was afraid it would create "too much" controllers... Your talk about services, I've read all over the web but can't figure when to use a factory or a service to glue controllers like that.
Le lundi 9 février 2015 17:44:19 UTC+1, Sander Elias a écrit : > > Hi Aimery, > > I would go for 1. Probably with a (couple off) services to keep the data > and/or state between the sub-forms. > To be a bit more complete I probably would make an progress-directive that > holds his own controller to handle the progress-bar. > Your controllers should be as light as possible, the work should be done > in services and directives. > > 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.
