How to share information between controllers in AngularJS?
Answer / chaitanya
There are various different ways to share data between controllers in an AngularJS app. The most commonly used are Scope, Service, Factory and Providers.
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain the architecture of angular 2?
How do you use ng value?
What do you mean by module?
What is difference between $window and window in AngularJS?
What is the difference between activatedroute and activatedroutesnapshot?
What is json web token?
What is the difference between routermodule.forroot() vs routermodule.forchild()? Why is it important?
Explain Authentication and Authorization?
Does facebook use react js?
What is a javascript factory?
How can we share the data between controllers in angularjs?
When will nginit be called? How would you make use of ngoninit()?