How can we share the data between controllers in angularjs?



How can we share the data between controllers in angularjs?..

Answer / Ritu Chaudhary

Data can be shared between controllers in AngularJS using services or a parent-child controller relationship.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is ng init?

1 Answers  


What is angular cli command?

1 Answers  


What are different ways of bootstrapping AngularJS?

1 Answers  


How event emitters works in angular 2?

1 Answers  


What does ng controller do?

1 Answers  


What is innerhtml in angular?

1 Answers  


How to use httpclientmodule in angular?

1 Answers  


How do you check if angular cli is installed?

1 Answers  


What is a mocked service in angularjs? How to use it?

1 Answers  


Why is it called angular?

1 Answers  


How to validate an url in angularjs?

1 Answers  


What is one-way bindings?

1 Answers  


Categories