Question d’entretien chez Betsson Group

How controllers can communicate with each other in Angular?

Réponse à la question d'entretien

Utilisateur anonyme

14 avr. 2018

When I think about something common across controllers I immediately think of a service or factory depending on the use case, and that was the answer I gave. However, it was not what they wanted to hear. What they were looking for was, events. Not advised as a good practice for several reasons though.