Hi folks!
So I have a directive that has some parameters bound in the scope like so:
scope: {
aVar: '=',
bVar: '&'
}
I also have a controller attached to the directive. This directive is contained within a controller which passes a value and a function to the directive. In the directive's controller, I call $scope.bVar(...) with a parameter. The problem is that the parameter is does not seem to be passed back through the delegate to the function.
Why doesn't this work? Should I go about this in a different fashion?
Thanks!!