Skip to content

Commit 4b22189

Browse files
author
maksad
committed
Call update route state on page load
1 parent 539e207 commit 4b22189

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
@@ -367,6 +367,7 @@ function $StateRefActiveDirective($state, $stateParams, $interpolate) {
367367
}
368368
}
369369
}
370+
update();
370371

371372
function addClass(el, className) { $timeout(function () { el.addClass(className); }); }
372373
function removeClass(el, className) { el.removeClass(className); }

0 commit comments

Comments
 (0)