{"action":"opened","issue":{"url":"https://api.github.com/repos/mgonto/angular-wizard/issues/148","labels_url":"https://api.github.com/repos/mgonto/angular-wizard/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/mgonto/angular-wizard/issues/148/comments","events_url":"https://api.github.com/repos/mgonto/angular-wizard/issues/148/events","html_url":"https://github.com/mgonto/angular-wizard/issues/148","id":119582564,"number":148,"title":"wz-next=\"function\", function is never executed","user":{"login":"morissette","id":3629159,"avatar_url":"https://avatars.githubusercontent.com/u/3629159?v=3","gravatar_id":"","url":"https://api.github.com/users/morissette","html_url":"https://github.com/morissette","followers_url":"https://api.github.com/users/morissette/followers","following_url":"https://api.github.com/users/morissette/following{/other_user}","gists_url":"https://api.github.com/users/morissette/gists{/gist_id}","starred_url":"https://api.github.com/users/morissette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morissette/subscriptions","organizations_url":"https://api.github.com/users/morissette/orgs","repos_url":"https://api.github.com/users/morissette/repos","events_url":"https://api.github.com/users/morissette/events{/privacy}","received_events_url":"https://api.github.com/users/morissette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-30T21:15:25Z","updated_at":"2015-11-30T21:15:25Z","closed_at":null,"body":"Description:\r\nI am showing no execution of any function passed to wz-next, either in $scope.function or traditional function func() declarations. Both are simple functions that just log to the console yet nothing is logged. \r\n\r\nAngular: 1.4.6\r\n\r\nJavascript, controller and module\r\n```javascript\r\n(function() {\r\n    var app = angular.module('mydhWizard', ['mgo-angular-wizard']);\r\n\r\n    app.controller('WizardCtrl', function($scope, WizardHandler) {\r\n        $scope.finished = function() {\r\n            alert(\"Wizard finished :)\");\r\n        };\r\n\r\n        $scope.logStep = function() {\r\n            console.log(\"Step continued\");\r\n        };\r\n\r\n        $scope.goBack = function() {\r\n            WizardHandler.wizard().goTo(0);\r\n        };\r\n\r\n        $scope.setQuestionaire = function(num) {\r\n            console.log('clicked');\r\n        };\r\n    });\r\n\r\n\r\n})();\r\n```\r\n\r\nView and directive:\r\n```html\r\n<!-- load directive with wz-next function -->\r\n            <wz-step title=\"Select Use Case\">\r\n                <h1 class=\"text-center\">Select a Use Case</h1>\r\n                <hr>\r\n                <wizard-use-cases></wizard-use-cases>\r\n            </wz-step>\r\n\r\n\r\n<!-- the following is in the wizardUseCases directive template -->\r\n                    <button type=\"button\" class=\"btn btn-block btn-success\" wz-next=\"setQuestionaire(1)\">Get Started <i class=\"fa fa-chevron-right\"></i></button>\r\n```"}}