In AngularJS, if a parent function wraps a child function, how are parameters in a child function available if the parent did not contain them?
In the example below, the parent function (green arrow) does not have any parameters supplied to it. Within the body is a child function (yellow arrow) that DOES have a parameter.
If the parent did not contain this parameter then how is it possible to pass it into the child function?
