1. The PubSub is a
common tool to decouple communication.
A. True
B. False
2. PubSub system in
AngularJS broadcast() the message to children controllers, while emit() send
messages to parents..
A. True
B. False
3. In AngularJS,
PubSub is not the only way to communicate between controllers.
A. True
B. False
4. If you want to tell
controllers [other than PubSub ones] to update their views, especially when a
property changes, you should rely
on data binding.
A. True
B. False
5. $scopes inherit the
properties of their parent scopes.
A. True
B. False
Best
of luck!
Answers
1 – A, 2 – A, 3 – A, 4 –
A, 5 – A
No comments:
Post a Comment