adspace
Answer Posted / Balvinder Singh
Data can be shared between AngularJS controllers by defining a service and injecting it into both controllers. Services are designed for this purpose: to hold application-level data and behavior.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How an object or function can get a hold of its dependencies?
How to get and log an error in angular 4?
How to create angularjs filter which outputs html?
What is the latest version of angular?
How can primeng be used with angular2?
Which version you are using js?
Angularjs dependency injection of value inside of the module.config?
How to use primeng in angular 4?
How to enable html5 mode in angular 1.x?
What is the latest angular?
How to implement a datagrid table with angular 2 and primeng?
Give the example of angularjs strings?
What is a dynamic route in angularjs and how do you implement it?