Skip to content

Commit 4ffd28a

Browse files
committed
Ensure sync when transitioning from directive.
1 parent 29b4de7 commit 4ffd28a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stateDirectives.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ function $StateRefDirective($state) {
3939

4040
element.bind("click", function(e) {
4141
$state.transitionTo(ref.state, params);
42+
scope.$apply();
4243
e.preventDefault();
4344
});
4445
}

0 commit comments

Comments
 (0)