If I have a function like this in a directive:
 scope: {
      loadChildren: "&"
 },
How can I call this from my controller and pass parameters?
$scope.loadChildren(param1, param2);
My directive executes the function I pass it but I don't see any parameters.
Is there any way to pass them like this?
EDIT re: rodyhaddad's answer
rodyhaddad points the way and gives the correct format for passing parameters to a bound function. However, in order to get it working I also had to add the parameter keys into my HTML like this:
<example load-children="load(param1, param2)"></example>
Then on my controller I can see parameters:
$scope.load = function (param1, param2) {
    debugger;
};
 
    