Skip to content
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.

Commit

Permalink
feat(future): allow options to be passed to future state
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Dec 8, 2015
1 parent 5d60c22 commit 3a2469d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/future.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
if (state && (!$state.get(state) || (state.name && !$state.get(state.name))))
$stateProvider.state(state);
});
$state.go(unfoundState.to, unfoundState.toParams);
$state.go(unfoundState.to, unfoundState.toParams, unfoundState.options);
lazyloadInProgress = false;
}, function (error) {
console.log("failed to lazy load state ", error);
Expand Down

0 comments on commit 3a2469d

Please sign in to comment.