<div navbarController as navCntrl>
<div treeviewController as treeCntrl></div>
<div ng-view></div>
</div>
In SPA application, i want to call a common function in a controller that
is loaded in container(ng-view) from my navbarController . How can i
acheive this?
How can i get the reference to the current controller loaded in the ng-view.
Thanks
--
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.