{"action":"closed","issue":{"url":"https://api.github.com/repos/angular-wizard/angular-wizard/issues/180","repository_url":"https://api.github.com/repos/angular-wizard/angular-wizard","labels_url":"https://api.github.com/repos/angular-wizard/angular-wizard/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/angular-wizard/angular-wizard/issues/180/comments","events_url":"https://api.github.com/repos/angular-wizard/angular-wizard/issues/180/events","html_url":"https://github.com/angular-wizard/angular-wizard/issues/180","id":154324419,"number":180,"title":"Trying to skip to step using wz-disabled causes error","user":{"login":"russTbaker","id":1695661,"avatar_url":"https://avatars3.githubusercontent.com/u/1695661?v=3","gravatar_id":"","url":"https://api.github.com/users/russTbaker","html_url":"https://github.com/russTbaker","followers_url":"https://api.github.com/users/russTbaker/followers","following_url":"https://api.github.com/users/russTbaker/following{/other_user}","gists_url":"https://api.github.com/users/russTbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/russTbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russTbaker/subscriptions","organizations_url":"https://api.github.com/users/russTbaker/orgs","repos_url":"https://api.github.com/users/russTbaker/repos","events_url":"https://api.github.com/users/russTbaker/events{/privacy}","received_events_url":"https://api.github.com/users/russTbaker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-11T19:35:12Z","updated_at":"2017-06-07T00:11:59Z","closed_at":"2017-06-07T00:11:59Z","body":"Hi,\n\nFirst of all, thanks for taking the time to create this tool, I've found it very useful. I have a use case where the wizard loads a series of pre-conditions and then presents the user with a list of options. Each option relates to a step in the wizard beyond where this list is presented. Each of those steps has the \"wz-disabled\" attribute and I set it to false when I want to enter that step. Fore example:\n\n**HTML**\n`<wz-step wz-title=\"This is my step\" wz-disabled=\"{{myStep_disabled}}\">`\n\nand the controller code:\n\n**Controller**\n`$scope.goToMyStep = function(){\n      $scope.myStep_disabled = false;\n      WizardHandler.wizard().goTo('This is my step');\n}`\n\nThis results in the following error:\n\n`angular.js:12783 TypeError: Cannot read property 'canenter' of null\n    at f (angular-wizard.min.js:7)\n    at Scope.a.goTo (angular-wizard.min.js:7)\n    at goTo (angular-wizard.min.js:7)\n    at Scope.$scope.goToMyStep (myController.js:53)\n    at fn (eval at <anonymous> (angular.js:13628), <anonymous>:4:332)\n    at expensiveCheckFn (angular.js:14610)\n    at callback (angular.js:24071)\n    at Scope.$eval (angular.js:16359)\n    at Scope.$apply (angular.js:16459)\n    at HTMLAnchorElement.<anonymous> (angular.js:24076)`\n\nDid I miss something?\n\nThanks in advance!\n"}}
{"actor":{"display_login":"jacobscarter"}}