Wow, thank you. That was it. It's the directive name without "Controller".
angular.element(directiveHolderElement).controller(directiveName) On Wednesday, July 29, 2015 at 1:39:39 PM UTC+9, Sander Elias wrote: > > Hi Bennie, > > I believe you can retrieve the controller with > angular.element(directiveHolderElement).controller(directiveName+"Controller") > > if you did not export it explicit. > Does that help? > > Regards > Sander > -- 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.
