Hello,
I don't get it how to get notified about a change in another controller.
I have two controllers, both share a "Basket" object. One controller shows the
contents of the basket, the other controller can add/delete/change the basket.
I want to get the view controller to display the changed contents if the basket
is modified from the other one.
I created a plunker to show my problem. Clicking on the "Add" adds an item to
the basket but the other controller does not show the correct number of items.
I tried watching and using a service as and intermediate but neither worked.
http://plnkr.co/edit/9ZZltbjHORjO41GMTlRW
Could someone enlighten me please?
Thanks, Kai