Created
July 14, 2018 13:31
-
-
Save dennis-8/d673f6e6e37a97a669cb7aaf604c5d94 to your computer and use it in GitHub Desktop.
Hide or show DOM element depending on UI-Router state
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can use isState filter with either ng-show or ng-hide. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ng-show="('stateA' | isState)"