Pregunta de entrevista de Betsson Group

How controllers can communicate with each other in Angular?

Respuesta de la entrevista

Anónimo

14 abr 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.