if you use in your code something like this
instead of
the access will be
angular.element('#mycontroller').scope().child.myFunction();
instead of
angular.element('#mycontroller').scope().myFunction();
in every case you also need the call
angular.element('#mycontroller').scope().$apply();