From 3a2469d86e677364fb465f06604d1d17a3d6d7bb Mon Sep 17 00:00:00 2001 From: christhielen Date: Tue, 8 Dec 2015 17:32:58 -0600 Subject: [PATCH] feat(future): allow options to be passed to future state --- src/future.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/future.js b/src/future.js index 54c735e..4c4dd89 100644 --- a/src/future.js +++ b/src/future.js @@ -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);