This is my code snippet -
<my-wizard
on-finish="doFinish()"
I am calling on-finish from my-wizard's controller class. It works and doFinish() gets invokes. I want to pass some parameters to doFinish() from the directive controller. What is the way for it?
This is my-wizard directive -
app.directive('myWizard', function () {
return {
restrict: 'EA',
replace: true,
transclude: true,
scope: {
onFinish: '&',
...
}
}
on-finish, a directive? Can you elaborate a little in your question on the order of operations? I guess it would be helpful to get more context on how it works and how you want it to work