Question:

List at least three ways to communicate between modules of your application using core AngularJS functionality.

Answer:

Common ways to communicate between modules of your application using core AngularJS functionality include:

  • Using services
  • Using events
  • By assigning models on $rootScope
  • Directly between controllers, using $parent$$childHead$$nextSibling, etc.
  • Directly between controllers, using ControllerAs, or other forms of inheritance

Keywords:

© 2017 QuizBucket.org