Hi, I have a quite complex form where each parts of it are separated. So I have 9 controllers and each of them handle its own part of the form (ajax calls to an API for autocompletes, validation, etc). At the end the controller scope will get a variable containing the serialized value from this part. Now I want to add a progressbar that will do 2 things : - Increase when the user complete one part of the form - Activate the submit button when everything is complete
So I thought of using a Directive for that. Here is a little plunker to illustrate the problem : http://plnkr.co/edit/YCc0QsLVhz7elW7lPEMG?p=preview It's a very simple version but it show that at some point each controller will have a scope variable that is not null anymore and so my directive must know that and keep track of it. How would you handle that ? I talk about the fact that the directive can "look" at the different controllers $scope variables... Thanks -- 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.
