How do you share data between controllers in AngularJs ?

devquora
devquora

Posted On: Feb 22, 2018

 

We can share data by creating a service, Services are the easiest, fastest and cleaner way to share data between controllers in AngularJs.There are also other ways to share data between controllers, they are

  • Using Events
  • $parent, nextSibling, controllerAs
  • Using the $rootScope

    Related Questions

    Please Login or Register to leave a response.

    Related Questions