Hello everybody, I've recently dealt with a big angular app. In it we have a controller A that is in a static place, let's say header functionality. We have controllers B and C that load dynamically in an ng-view, based on route. In Ctrl B I have a UI functionality that opens a window with some data and functionality inside. This UI functionality is needed though in the other Ctrl C and at some point we might need it in Ctrl AA by various reasons. What is the right way to implement all this? At this stage we added the functionality in Ctrl A and call it through event but I think it's not the proper way to do it especially in the cases when event is emitted and the handler is actually not yet properly initialised.
All ideas are welcome. Thanks in advance -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
