You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if FriendInput add an item to FriendsService, how does it notify FriendList that an item is added? I notice that no explicit call were made when new item added.
The text was updated successfully, but these errors were encountered:
Right, there is no explicit call to notify FriendList that something has changed. There is also no $watch or something similar in FriendList that registers a callback handler.
In Angular 2 it all works automatically. Behind the scenes you have Zone.js that intercepts all asynch calls and triggers Angular's change detection.
For example, if FriendInput add an item to FriendsService, how does it notify FriendList that an item is added? I notice that no explicit call were made when new item added.
The text was updated successfully, but these errors were encountered: