Thanks for replying Sander. To clarify my problem , I have created a 
plunker http://plnkr.co/edit/cQLGI1CQ6UHBoq5ShFDP?p=preview .  Initially 
the tree item's value is root.
when you click on edit button(on the icon), it opens a "Add Property" modal 
with data in it as "Original Text".  Now if you click on Add Item, it opens 
one more modal, which has provision button. when you click on provision, 
after a timeout, I modify the model of tree to be root modified. and then I 
dismiss the 2nd modal and modify 1st modal's model to "Hello world", which 
doesn't get reflected in its content.  

Can you please explain me in this example's context, whats going wrong?

Regards
Vadiraj

On Thursday, August 27, 2015 at 8:21:47 AM UTC+5:30, Sander Elias wrote:
>
> Hi Vadiraj,
>
> It can be fixed. The root cause of your problem is probably a scope 
> introduced somewhere. If you have an table like that, you should keep it in 
> a service, including all the logic that is needed to mutate the table. Then 
> you can inject that service whereever you need it, and the results will 
> update everywhere you need them, fully automatic. (Assuming that you keep 
> your table in an array that you mutate. Do not recreate the array ever!)
>
> 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.

Reply via email to