From b8f3c144b913e620f177b78f3b4f52afa61d41a6 Mon Sep 17 00:00:00 2001 From: dEradicated Date: Tue, 2 Feb 2016 07:15:04 +0800 Subject: [PATCH] fix(uiState): Corrected variable (#2488, #2508) --- src/stateDirectives.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stateDirectives.js b/src/stateDirectives.js index e62bafe92..d02add989 100644 --- a/src/stateDirectives.js +++ b/src/stateDirectives.js @@ -178,7 +178,7 @@ function $StateRefDynamicDirective($state, $timeout) { def.state = group[0]; def.params = group[1]; def.options = group[2]; def.href = $state.href(def.state, def.params, def.options); - if (active) active.$$addStateInfo(ref.state, def.params); + if (active) active.$$addStateInfo(def.state, def.params); if (def.href) attrs.$set(type.attr, def.href); }