Hi Sanders, Not sure why it is not decorating $controller and $onInit as well? $controller is decorated using $decorator itself and adds a functionality (by calling modal device method) before and after $onInit on the controller is called without injecting anything in individual controller.
Regards, Shailesh. On Dec 5, 2017 12:23 AM, "Sander Elias" <[email protected]> wrote: > Hi J, > > As far as I can see you are not decorating anything, but you are using the > $onInit as intended, so I don't see a problem. > > Regards > Sander > > -- > You received this message because you are subscribed to the Google Groups > "Angular and AngularJS discussion" 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 https://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
