Skip to content

Commit

Permalink
fix(uiState): Corrected variable (#2488, #2508)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrcPinappol committed Feb 1, 2016
1 parent 87f10df commit b8f3c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stateDirectives.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit b8f3c14

Please sign in to comment.