I created a directive but I have noticed it does not always update when a 
parent property is changed.  
The basic input directive works
<input 
ng-model="selected.borrowerSet.PrimaryBorrower.ContactDetails.Name_First">
when I change the value of selected the binding will update.  However in my 
directive it will continue to look at data from the old value.

<cx-edit-table ng-controller="PhoneDlgCtrl" 
ng-model="selected.borrowerSet.PrimaryBorrower.ContactDetails.List_PhoneNumbers"
 
>
this works well for dealing with the List_PhoneNumbers array changes.

Is there an extra watcher I need to setup in the directive to deal with 
selected being changed?

The directive code is at http://plnkr.co/edit/oXSia8?p=info

-- 
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.

Reply via email to