a colleague found an error in my directive: fixed it and found a different approach to the problem.. it works with 1.0.8 but not 1.2.15. in 1.0.8 it has it's own isolated model, but not in the lates version...
http://plnkr.co/edit/2w2IjIDvNYIPVsCz695G?p=preview thx, Thomas On Sunday, March 30, 2014 10:44:10 AM UTC+2, Thomas Subera wrote: > > Hi! > > This is bugging me for days and i cannot find the error. I expect to have > a beginners failure since it's a scope problem (as always) but i can't find > the error in my thinking. > > I am having a directive within a form with an textarea element within. The > textarea should be bound to a model within the isolated scope of the > directive. Unfortunately it's bound to the parent scope and i cannot figure > out why. > > Just try this fiddle and enter some text within one of the textareas and > you will see that they share the model. > http://plnkr.co/edit/SeBQWTvqyCYahIw6lYYX?p=preview > > > What am i doing wrong? > > Thanks in advance! > > Best Regards, Thomas > > ps: i have been searching for an hour and a half within the group but > isolated scope is not really helpful as a search term^^ > -- 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.
