I have a set of classes, each with a ControlGroup property. In my component, i have something like the "selectedHero" from the examples. The thing is that the form for each hero is defined by this ControlGroup available in each class (Each Hero has it's class), so i made something like this: [ngFormModel]="selectedHero.myControlGroup"
It works very well for the first selected hero, but after selecting the second or third, the information value is always empty. Is there a way of making an ngFormModel bind dynamic? Whenever the selectedHero changes, also change the binding? -- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
